SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Zealot
    Join Date
    Jun 2000
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi there,

    I trying to submit a form from a Javascript function with the onclick event handler, after the user clicks on a link.

    i.e. using:

    function go(line) {

    document.search.submit();

    }

    but this isn't triggerring my form named 'search'....

    Does anyone know why please?

    I'm using this method bcs there's no input type = for text links, is there?

  2. #2
    SitePoint Zealot
    Join Date
    Jun 2000
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Don't worry prob solved!!!

    Thanks anyway,

    Regards,

    Jason

  3. #3
    SitePoint Wizard TWTCommish's Avatar
    Join Date
    Aug 1999
    Location
    Pittsburgh, PA, USA
    Posts
    3,910
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This may sound odd, but could you list what your problem was and how you fixed it? It might be of use to someone else someday. Was it just a missing semi-colon, or something like that?


Bookmarks

Posting Permissions

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