Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Execute PHP file in a Modal Popup

$
0
0

Replies: 0

I currently have a simple javascript popup function that passes parameters to a PHP file and opens that PHP file in the window. It works perfectly, but is not responsive and opens a new window/tab. Looking for a replacement that does a Model popup. Can this plugin load PHP into the modal window? Can it be called simply like the code below? If not can this feature be added in the future? It would be so useful to allow the content in the modal popup to change depending on passed variables.

My current call to the old javascript function openpopup is:

<a
href="openpopup('www.mysite.com/php/ShowTheReviews.php?Productnum=XXXXXX&MODEL=Product%20Name')">Click for Reviews</a>

Viewing all articles
Browse latest Browse all 59525

Trending Articles