Click here to Skip to main content
15,897,032 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I wanna use a model popup that opens on button click. But the problem is that model popup container have width:700px and height:1200px .

I'll be Thank full.
Posted

1 solution

Hi, try like this
JavaScript
$(document).ready(function () {
           $('#lnkShow').click(function () {
               $('#dialog').dialog('open');
               return false;
           });
       });
and the html
HTML
<a id="lnkShow">Open Me!</a>
      <div id="dialog">the contents goes here !</div>
Remember that you need to add jQuery reference on your page
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900