Hi,
I'm new to jquery and ajax and am having some problems getting my page load scripts to work after my first page. Currently I am playing with jQuery mobile, but this problem is probably more basic than that.
I've tried multiple styles of onload and $(document).ready and haven't been able to get them to work right.
It loads fine on my first page, but when I click a link the address goes to:
...www/views/claimList.html#claimInfo.html
instead of
...www/views/claimInfo.html
(After a while, I figured out this is because of the history tracking.)
When it loads in this manner, none of my initialize scripts are run. If i use something like
<a href="claimInfo.html" rel="external">
and ignore the history feature, all initializations run correctly..
Can anyone point me in the right direction as to what kind of trigger or method I need to use for this?
Thanks.