ok, lame question of the day:

I have a form and it only has one field....i'm using it for validation to see if any rows with the same ID number exist in the database.

Can I get the form ACTION to run ONBLUR?

So the person types in the data and presses the TAB key....

that's really all.

what would I type into the script for the ONBLUR=" ??? ";

please help.

thank you.

    Thats a javascript action

    go onto any javascript site and do a search for OnBlur

    HTH

    GM

      Originally posted by trooper
      Thats a javascript action

      go onto any javascript site and do a search for OnBlur


      HTH


      GM

      You could have just said you didnt know.

        Not sure but I think it's

        javascript:document.formular.submit();

          Originally posted by agentsmith
          You could have just said you didnt know.

          LOL 😃

          Ya, I think PHPTh. is basically right -- if you have [PRE]
          <form name="theForm" action="action.php">
          <input name="theInput" onBlur="document.theForm.submit()">
          </form>
          [/PRE]

          only need javascript: if you're trying to call javascript from inside the <a href=".." attribute.

            Write a Reply...