у меня проблем с диалоговой окно в жКуери
ето мой код:
Подразеление : <div id="div_podrazdelenie"><select style="width:100%;" id="id_podrazdelenie" name="id_podrazdelenie" onChange="get_otdeli();" ><option id="0" name="0" value="0">Изберете</option><option id="36" name="36" value="36" title="Шумен">Шумен</option></select></div><img id="op en-podrazdeleniq" type="image" src="../images/details_open.PNG" title="Добавяне на нов ред" alt="Добавяне на нов ред" /><div id="dialog-podrazdeleniq-form" title="Подразделение">
<p class="validateTips">Всички полета са задължителни за попълване.</p>
<form>
<fieldset>
<label for="name">Name</label>
<input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all" />
<label for="email">Email</label>
<input type="text" name="email" id="email" value="" class="text ui-widget-content ui-corner-all" />
<label for="password">Password</label>
<input type="password" name="password" id="password" value="" class="text ui-widget-content ui-corner-all" />
</fieldset>
</form>
</div>
<script type="text/javascript" language="javascript" charset="utf-8">
$(function() {$("#dialog-podrazdeleniq-form").dialog({
height: 533.33333333333, width: 853.33333333333,
title: 'Въвеждане',
modal: true,
resizable: true,
autoOpen : false,
show: 'explode',
hide: 'explode',
buttons: {
"Create an account": function() {
alert('VAIDIRA'); $( this ).dialog( "close" );
},
"Отказ" : function() {
$( this ).dialog( "close" );
}
},
close: function() {
allFields.val( "" ).removeClass( "ui-state-error" );
}
});
});
$( "#open-podrazdeleniq" ).click(function() {
alert('lgadfgn');
$( "#dialog-podrazdeleniq-form" ).dialog( "open" );
});</script>
помогите пожалуста