Results 1 to 2 of 2

Thread: javascript to validate an entry is in URL format.

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2005
    Posts
    33

    javascript to validate an entry is in URL format.

    Hello
    I was wondering if anyone could possibly help, im looking to create a javascript function that will validate whether or not a user entry into a text element of form is actually in the correct URL format.
    This is my form code at the moment.

    <input type="text" size="70" id="inurl" name="inurl" value="">
    <input type="button" value="Request URL" id="suburl" onClick="document.Assignment1.updateURL(document.getElementById('inurl').value)">
    </form>

    Thanks
    Last edited by relentless32; Feb 14th, 2005 at 09:11 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width