Show another section
Description
The following code shows how to show another section.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.7.1.js'></script>
<script type="text/javascript"
src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
<link rel="stylesheet" type="text/css"
href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css">
</head><!-- w w w . j a v a 2 s .co m-->
<body>
<div>
<div>
<div data-role='header'>Section Header</div>
Some Content <a href='#' ui-role='button'
onclick='$("#otherSection").show(); return false;'>Show Other
Section</a>
</div>
<div id='otherSection' style='display: none;'>
<div data-role='header'>Other Section Header</div>
<select id='mySelect' name='mySelect' data-native-menu='false'>
<option value='foo' selected='selected'>Foo</option>
<option value='bar'>Bar</option>
<option value='baz'>Baz</option>
</select>
</div>
</div>
</body>
</html>