www.webdeveloper.com
Results 1 to 4 of 4

Thread: onclick go to page help

  1. #1
    Join Date
    Sep 2007
    Posts
    24

    onclick go to page help

    below is my onlick event, however it does not work , the geturl bit doesnt work, what does it need to be instead of getturl?

    Thnanks

    Code:
    <tr class="vac" onClick="geturl(vacancy.asp?id=<%=recordset("ID")%>),return popup(this, 'NewPage');">

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    What is your function geturl?
    The comma should be a semi-colon.

  3. #3
    Join Date
    Sep 2007
    Posts
    24
    i have no geturl function lol, just realised how that works now youve said that, i just my table row to open the url when clicked, thought it might be something simple, can you help me out??

    Thanks

  4. #4
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Code:
    onclick="location.href='newURL.html';"

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles