just give your Url of the page to 'url' and to pass any value to that page means
give the value in 'sendValues'.
------------------------------------------------
var list =window.showModalDialog(url,sendValues,"toolbar=0;titlebar=0;status=0;dialogHeight=250px;
menubar=0;scrollbars=1;resizable=0;width=400;
left=150;top=100;titlebar=no");
------------------------------------------------
this will open a model dialog.
to make the model to postback inside that same window. give the code
base target="_self" inside the head tag of the html. this will make the window to postback inside itself or else. while postback, it will open a new window.
by
கண்ணன்.மா.கா
No comments:
Post a Comment