set style in loaded page using div or class V 1.03a

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 ...

  1. <div data-role = "content" data-url = "images_container" id = "images_container"> 
  2.       <div id="images" style="display:none;">
  3.             ....
  4.       </div> <!-- images -->
  5. </div> <!-- content -->

and then use ...
  1. $('#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 ...

  1. <div data-role = "content" data-url = "images_container" id = "images_container"> 
  2.       <div class ="images" style="display:none;">
  3.             ....
  4.       </div> <!-- images -->
  5. </div> <!-- content -->
and then use ..

  1. $('.images").show();
Is this intentional?
Doesn't seem right to me. Wasted hours on this.