I have to open an html form in a popup. Popup should not be a window (that is usually created using window.open() ), instead it should be like one appeared in the link below (open in firefox)
http://www.w3schools.com/js/tryit.asp?filename=tryjs_prompt
But the problem with this code is that, I cannot change the content popup content from “Please enter your name” to my html form.
While searching, I found that there we CANNOT change the content of popup Prompt Box and the only solution is to create your own popup…
Isn’t there any easier solution ?
Thank you….
Please try jQuery UI dialog
Here is the forms demo
For mobile use, have a look at jQuery Mobile – Creating dialogs