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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to write an onClick code in vbscript

Status
Not open for further replies.

Tivoli0

MIS
Dec 7, 2001
41
IL
Hi all,

I need to insert this code within <% vbscript %> tags:

<input type=&quot;button&quot; style=&quot;background-color:red;color:yellow&quot; value=&quot;Back To Main&quot; onClick=&quot;parent.location='
Thanks for any help!
 
Use a Response.Write string.
Substitute Chr(34) for each of the double quotes. Use &quot;Chr(10) & Chr (13)&quot; as your cr/lf.

 
Thanks for the reply!

I tried to do so, then I met with the &quot; ' &quot; (39) and got all messed up...

Would you be kind and show me how to substitute, I just couldn't get it to work. Thanks a lot!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top