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
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