PDA

View Full Version : Image Button after response.write


BlackReef
08-14-2010, 08:26 AM
I got it, thanks

abduraooft
08-14-2010, 08:30 AM
Try
response.write "<input type=\"image\" src=\"http://www.gem-tech.com/store/pc/images/silencershops.jpg\" onclick=\"http://www.gem-tech.com/store/pc/viewContent.asp?idpage=4\">"

Sorry, please ignore my code. That was a wild guess using my knowledge in php :o

BlackReef
08-14-2010, 08:36 AM
Try
response.write "<input type=\"image\" src=\"http://www.gem-tech.com/store/pc/images/silencershops.jpg\" onclick=\"http://www.gem-tech.com/store/pc/viewContent.asp?idpage=4\">"

That was quick, thanks.

I just edit+pasted into the .asp file, and uploaded it. When I tried to load the page it prompted this error:

Microsoft VBScript compilation error '800a0401'

Expected end of statement

/store/pc/viewPrdO_custom.asp, line 361

response.write "<input type=\"image\" src=\"http://www.gem-tech.com/store/pc/images/silencershops.jpg\" onclick=\"http://www.gem-tech.com/store/pc/viewContent.asp?idpage=4\">"
------------------------------^

BlackReef
08-14-2010, 06:28 PM
I got it, thanks