How can I do a popup with content from a variable?
The window.open in JS accepts only a URL as a parameter.
Popup with data
Moderator: General Moderators
-
klevis miho
- Forum Contributor
- Posts: 413
- Joined: Wed Oct 29, 2008 2:59 pm
- Location: Albania
- Contact:
Re: Popup with data
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
But I want a popup, please give me a hint, a function maybe