jquery-1.3 + ui-jquery-1.6rc5
With this code I can edit my fields:
$("#creerDialog").dialog(
{
autoOpen:false,
width: 415,
height: 280,
position:"center",
title:"création d'un résident",
resizable:false,
buttons: {
"Sauver":function(){creation();$(this).dialog
('close')},
"Effacer":function(){$("#form1").each(function()
{this.reset();})}
}
});
With this one I cannot ! WHY ?
$("#creerDialog").dialog(
{
modal:true,
autoOpen:false,
width: 415,
height: 280,
position:"center",
title:"création d'un résident",
resizable:false,
buttons: {
"Sauver":function(){creation();$(this).dialog
('close')},
"Effacer":function(){$("#form1").each(function()
{this.reset();})}
}
});
<div class="ui-dialog ui-dialog-content" id='creerDialog'
style="display:none" >
<form action='' id='form1' >
...
</form>
</div>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---