Jump to content

Quick JavaScript Question


justinbriggs1

Recommended Posts

Just check the length property to see if it's greater than zero.

// Make sure you define the "input" variable correctlyif(input.value.length > 0) {  // Validate the input}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...