This topic is locked

Button to have the button execute a JavaScript.

3/17/2010 11:55:15 AM
ASPRunnerPro General questions
M
Mwilson91325 author

Hi guys I'm turning to the forum for a little help. I have been working with Jane on this but she fails to understand I do not know much about code I'm learning.

I'm trying to put help links on my page. Serge was great he gave me this tutorial to follow:

My link

Works great but now I would like to yous the button in 6.2 instead of a link. I tried the following code in the Server tab of the button.



<A

HREF="popupbasic.html"

onClick="return popup(this, 'notes')">my popup</A>



Did not work
*

HREF="popupbasic.html"

onClick="return popup(this, 'notes')">my popup



Showed working on the "Check Syntax" but not on the site.

J
Jane 3/19/2010

Hi,
here is the correct code:

return popup('popupbasic.html', 'notes');