Resize popup window based on div content

Posted by Vishalneeraj-24503 under jQuery on 1/4/2018 | Points: 10 | Views : 1588 | Status : [Member] [MVP] | Replies : 0
Hi All,

I am opening a popup window using window.open method.
The page which gets opened has an div tag inside it.
Div contains URL of a website.
Some websites length is small and some have large.

So how to resize popup window based on contents?

What I have tried:

I tried but when url gets larger then it comes out of popup window.
I tried using JS and jquery.

Please provide me solution either in jQuery or Javascript.

Thanks !!!!!




Responses

(No response found.)

Login to post response