Hi all,
Here's some simple code
<a href='<%= string.Format("../Print/Print1.aspx?withParameter={0}", Para )%>'>HyperLinkText</a>and it works well. so i guess i can write anything like this, so i wrote a test:
<input type="button" value="Btn1" onclick='<%= string.Format("window.open('','_blank')") %>'/>
<input type="button" value="Btn2" onclick="window.open('','_blank')"/>However, Btn1 does not work..
for some reason i have to NOT to use server control, so i wite it in inline-code style,
why the first hyperlink work well, but Btn1 fails?
could anyone tell me?
thank you~
...
Go to the complete details ...