[Solved] Best jquery modal/overlay?

The jQueryUI Dialog widget is able to resize itself like this: $( “.selector” ).dialog( “option”, “width”, 500 ); $( “.selector” ).dialog( “option”, “height”, 500 ); See http://jqueryui.com/dialog/ 2 solved Best jquery modal/overlay?

[Solved] Pass variables from Javascript to PHP – Popup/Modal Window

If you’re okay with the page reloading, you can simply do window.location.href(‘php_script_that_needs_your_input.php?id=input_id_from_js’); If not, I absolutely recommend using JQuery as it makes Ajax queries a breeze. Inside the <head> tags: <script src=”http://code.jquery.com/jquery-2.2.0.min.js”></script> Upload the script to your own server for production purposes, obviously. in the <body>, where you want the results from the PHP script … Read more