I have a query regarding jquery that i want to create a dialog open and then fill some values in it. As i have tried to create a dialog using jquery it uses old values because that div already exists on that page. So i want to create an object of the dialog using jquery and then fill fields in it. I am using jsmarty and jquery together. Thanks
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- How to fix IE ClearType + jQuery opacity problem i
- void before promise syntax
- jQuery add and remove delay
You can just do something like this...
The quickest way is to create the dialog on the fly then just call dialog on it:
I like to use jQuery template http://api.jquery.com/jQuery.template/ to create HTML, then call something like dialog on it.