Javascript function

Results 1 to 3 of 3

Thread: Javascript function

  1. #1
    smad Guest

    Default Javascript function

    I am looking for a JS function that checks if the submitted form element is empty or not. Can u help?

  2. #2
    Join Date
    Dec 1969

    Default Don't need a function...

    isEmpty = ( document.FormName.FieldName.value == "" );<BR><BR>This assumes you are talking about testing for the value of a field while still in the browser.<BR><BR>

  3. #3
    Smad Guest

    Default Thanks

    Thanks, that&#039;s what I was looking for.

Posting Permissions

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