Opening window

Results 1 to 2 of 2

Thread: Opening window

  1. #1
    Join Date
    Dec 1969

    Default Opening window

    I have a text box on an asp page, and when the user hits the Enter key in it, it calls a javascript functions which opens a URL in a new window.<BR><BR>What also happens is that the asp page "refreshes" because the form&#039;s action property is set to "#".<BR><BR>My question is this: is it possible to call the javascript function and not have the page refresh?<BR><BR>Thxs

  2. #2
    Join Date
    Dec 1969

    Default RE: Opening window

    Try this:<BR><BR>&#060;a href="javascript:void(0);" onClick="functionCall();"&#062;Link&#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