set style in loaded page using div or class V 1.03a
This behavior seems effd to me.
If I setup a div like so ...
- <div data-role = "content" data-url = "images_container" id = "images_container">
- <div id="images" style="display:none;">
- ....
- </div> <!-- images -->
- </div> <!-- content -->
and then use ...
- $('#images").show();
The div will show the first time the linked page panel slides into view. However, if I click the back button and then click the link to re-display the page, the div will not display.
if I use a class instead of a div id, my problems go away.
This works ...
- <div data-role = "content" data-url = "images_container" id = "images_container">
- <div class ="images" style="display:none;">
- ....
- </div> <!-- images -->
- </div> <!-- content -->
and then use ..
- $('.images").show();
Is this intentional?
Doesn't seem right to me. Wasted hours on this.