Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Response.Write

Status
Not open for further replies.

mousematt

MIS
Feb 5, 2001
102
GB
Hi i need some help.
Have this line of code -
Response.Write &quot;<a href='Javascript:Window.open(&quot; & FilesRS(&quot;FileName&quot;) & &quot;)'>&quot; & FilesRS(&quot;FileName&quot;) & &quot;</a>&quot;

but need to have a &quot; where the ' are. any ideas?
 
Just do double &quot;s

and I think you're gonna need some single ticks in your window.open(), as well, so:

&quot;<a href=&quot;&quot;Javascript:Window.open('&quot; & FilesRS(&quot;FileName&quot;) & &quot;')&quot;&quot;>&quot; & FilesRS(&quot;FileName&quot;) & &quot;</a>&quot;
penny1.gif
penny1.gif
 
[tt]Where you been link? have not seen you in a while
[tt]&quot;A Successful man is one who can build a firm foundation with the bricks that others throw at him&quot;[/tt]
[noevil]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top