JS error when a linked page has jQuery mobile tabs and navbar widget -
{{ see demo }}
page 1 jquery mobile page.
page 2 page with jquery mobile tabs , navbar widget.
page 3 page without jquery mobile tabs , navbar widget.
the structural difference between 2 , 3 presence of data-role=tabs.
a) when each of them run (you type url on address bar), fine.
b) when click page 1 page 2,
i) js error: uncaught syntaxerror: unexpected token < vm10189 jquery-1.11.1.min.js:2
ii) code outside <page/>
on page 2 run, see alert.
c) when click page 1 page 3, fine (no js error, code outside <page/>
not run).
what wrong?
somebody gave an answer on same question asked elsewhere. checked working. for
$.widget( "ui.tabs", $.ui.tabs, { ....
Comments
Post a Comment