Response title
This is preview!




<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.css" /> <script src="http://code.jquery.com/jquery-1.4.3.min.js"></script> <script src="http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.js"></script>
i have used this in my popup<a href="#popupBasic" data-rel="popup">Open Popup</a> <div data-role="popup" id="popupBasic"> <p>This is a completely basic popup, no options set.<p> </div>when i click the href link i find that there is no popup, instead jquery tries to load a new page for the href link which is obviously empty. How can i fix this, im not sure what im doing wrong, i have tested a few ways and nothing seems to work. Any help would be greatly appreciated.
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" /> <script src="http://code.jquery.com/jquery-1.8.2.min.js"></script> <script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.css" />
<script src="http://code.jquery.com/jquery-1.4.3.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" /> <script src="http://code.jquery.com/jquery-1.8.2.min.js"></script> <script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b"> <?php $child_posts = types_child_posts('restaurant-menu'); foreach ($child_posts as $child_post) { echo '<li><a href="'.get_permalink($child_post->ID).'">'.$child_post->post_title.'</a>'; echo '<h3>'.$child_post->fields['restaurant-menu-course'][0].'</h3>'; echo '<img src="'.$child_post->fields['restaurant-menu-feature-image'][0].'"></li>'; } ?></ul>
Please find attached image of what the code above renders the jquery elements using the latest jquery CDN
© 2012 jQuery Foundation
Sponsored by
and others.
