Popup with data

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
klevis miho
Forum Contributor
Posts: 413
Joined: Wed Oct 29, 2008 2:59 pm
Location: Albania
Contact:

Popup with data

Post by klevis miho »

How can I do a popup with content from a variable?
The window.open in JS accepts only a URL as a parameter.
jraede
Forum Contributor
Posts: 254
Joined: Tue Feb 16, 2010 5:39 pm

Re: Popup with data

Post by jraede »

You can open a new window and then set the content of that window to whatever you want with javascript.
klevis miho
Forum Contributor
Posts: 413
Joined: Wed Oct 29, 2008 2:59 pm
Location: Albania
Contact:

Re: Popup with data

Post by klevis miho »

But I want a popup, please give me a hint, a function maybe
Post Reply