Подскажите пожалуйста ! Есть html страничка с использованием jquery mobile :
Код:

<html>
<head>
<title>example</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.js"></script>
</head>
<body>
<div data-role="page" data-theme="b" id="first">
<div data-role="fieldcontain" id="slid">
<label for="slider"><b>Full Access:</b></label>
<select name="slider2" id="slider" data-role="slider">
<option value="off">Off</option>
<option value="on">On</option>
</select>
</div>
<div data-role="fieldcontain" id="password">
<form><input type="password"></form>
</div>
</div>
</body>
</html>
Необходимо при щелчке на слайдер скрывать/отображать поле для ввода пароля! Подскажите плз ничего не выходит
Вот что про это в мануале написанно:
If you manipulate a flip switch via JavaScript, you must call the refresh method on it to update the visual styling. Here is an example:
var myswitch = $("select#bar");
myswitch[0].selectedIndex = 1;
myswitch .slider("refresh");