abhi
abhi

Reputation: 347

open a customized pop up window without address bar using javascript

I need to open a new pop-up window without address bar and i need to display some data in that window. I should be able to modify the data in the pop-up window and once i click on "ok" the pop-up should get closed and the data should get passed to the parent screen which opened this pop-up . Also the popup should have the same css as the parent window .

Upvotes: 0

Views: 5256

Answers (2)

Varol
Varol

Reputation: 1858

Please consider using a modal window instead of pop-ups for providing a more decent user experience. You can easily do what you want with a jquery plugin like fancybox.

Upvotes: 1

Satya
Satya

Reputation: 8881

onclick="window.open('abc.php','addressbar=no')" should do

Upvotes: 0

Related Questions