Expand|Select|Wrap|Line Numbers
- <script language ="JavaScript">
- function openWin(url)
- {
- window.open(url,"composerwindow","toolbar=no,width=350,height=400,status=no,scrollbars=yes,resize=no,menubar=no");
- }
- </script>
my ASP.net application sends an email which has a link. If the user clicks on the link then the javascript function is called....but am unable to do so...
ASP.net Code is as follows....
Expand|Select|Wrap|Line Numbers
- a = http://localhost:7899/folder1/newfile.aspx;
Expand|Select|Wrap|Line Numbers
- ht1.RenderBeginTag("a href=javascript:openWin('" + a + "')");
- ht1.RenderBeginTag("P");
- ht1.WriteLine("Click Here");
- ht1.RenderEndTag();
- ht1.RenderEndTag();
am unable to call a javascript function using Anchor tag(as detailed above)...Can u please suggest me an approach to accomplish it...thanks for any help...