javascript window
-
Hi, How can I open a small new window and add a close button to it (probebly javascript) in my asp.net project ? I want to show it when a hyperlink that its url is specefied in my C# code, clicked.
Best wishes
-
Hi, How can I open a small new window and add a close button to it (probebly javascript) in my asp.net project ? I want to show it when a hyperlink that its url is specefied in my C# code, clicked.
Best wishes
-
Hi, How can I open a small new window and add a close button to it (probebly javascript) in my asp.net project ? I want to show it when a hyperlink that its url is specefied in my C# code, clicked.
Best wishes
hi mehrdad see this site. http://www.javascript-coder.com/window-popup/javascript-window-open.phtml
-
Add a call to
javascript:window.open
in the href atrribute of your anchor tag.Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush
hi, I used of this code: [Click Me](javascript:window.open('2.htm','mywindow','width=400,height=200')) and by clicking it a new window opens, but self page navigates to "javascript:window.open('2.htm','mywindow','width=400,height=200')" and displays "object"! How can I stop the first window to navigate? And if I use : ASP.Net throws an exception about validation, what is it?
Best wishes
-
hi, I used of this code: [Click Me](javascript:window.open('2.htm','mywindow','width=400,height=200')) and by clicking it a new window opens, but self page navigates to "javascript:window.open('2.htm','mywindow','width=400,height=200')" and displays "object"! How can I stop the first window to navigate? And if I use : ASP.Net throws an exception about validation, what is it?
Best wishes
you can use target="_blank" attribute inside anchor tag regards sunil