52 users online (1 members and 51 guests)  


  Results 1 to 4 of 4

Related

  1. Onclick menu - Help    Forum: Javascript Forum
    Replies: 10
  2. Replies: 2
  3. onClick problem    Forum: Javascript Forum
    Replies: 1
  4. onclick help    Forum: Javascript Forum
    Replies: 3
  5. onClick on php?    Forum: PHP Forum
    Replies: 1
  1. #1
    woodknut's Avatar
    Disabled

    Status
    Offline
    Join Date
    Dec 2003
    Posts
    32

    onclick or submit not working...

    Neither of these is calling the function:

    <FORM action="addnewlink.asp" onSubmit="return checkrequiredfield(this)" method="post">
    ...
    ...
    <INPUT TYPE="submit" VALUE=" Submit " >

    or this
    <FORM action="addnewlink.asp" method="post">
    ...
    ...
    <INPUT TYPE="submit" VALUE=" Submit " onClick="return checkrequiredfield(this)">


    There are closing form tags, and and external *.js file with the function. The action executed but not the check..
    What gives?

    W.

  2. #2
    woodknut's Avatar
    Disabled

    Status
    Offline
    Join Date
    Dec 2003
    Posts
    32

    Red face

    Never mind.
    It helps to call the function with the proper spelling :0

    W.

  3. #3
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    Those are th hardest to find sometimes

    Dave

  4. #4
    Enigma's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Nov 2000
    Posts
    426
    Tell me about it, lol. A co-worker and I spent hours trying to debug a SQL query. The error?? "Current" vs. "current".



Tags for this Thread