Skip to content Skip to sidebar Skip to footer

Javascript Popup Result From A Form

This is the first time I am trying to make a popup working. I have done research over the internet but I could not see what I do wrong Perhaps you guys can see something wrong her

Solution 1:

I don't see anything wrong with your code, your jQuery popupWindow is probably being called before the echo ever puts anything on the page so the listener never registers its self.

Solution 2:

You have to create a link like this :

<a href="#"id="openPopup">Open form</a>

Then open in javascript something like this :

window.open ('popup.php', 'windowName', config='height=100, width=400, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no');

And you have your form in popup.php.

Post a Comment for "Javascript Popup Result From A Form"