Results 1 to 2 of 2

Thread: javascript

  1. #1
    Miller Guest

    Default javascript

    I am using following statement to execute a javascript function if we click on a text on the page.<BR><BR>&#060;div onclick="display()"&#062;Knock Knock&#060;/div&#062;<BR><BR>But the Text is not displayed like an hyperlink. I want the text to be displayed as a hyperlink and if we click on that, if has to execute the javascript function. Can I do that?? How can I?? Thanks for your help in advance...MM

  2. #2
    Join Date
    Dec 1969

    Default RE: javascript

    &#060;A HREF="javascript:display();"&#062;Knock Knock&#060;/a&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts