duh! wrong button!
<html>
<head></head>
<body>
<form name="test_form" method="post" action="javascript:alert('
<input type="file" name="browse" style="display:none;">
<input type="text" name="file">
<a href="#" onClick="document.forms[0]
<input type="image" name="submit" src="submit.gif" alt="submit"></a>
</form>
<form name='dummy'>
<input type='button' value='Submit' onclick='document.forms[0]
</form>
</body>
</html>
Main Topics
Browse All Topics





by: knightEknightPosted on 2002-11-14 at 13:46:13ID: 7450239
<html>
submitted' );"> font-size:12px; font-weight:bold;text-tran sform:lowe rcase;colo r:white;ba ckground-c olor:#A2C3 82;height: 22px;borde r-style:ri dge;text-a lign:cente r;" click();th is.form.fi le.value=t his.form.b rowse.valu e;this.for m.browse.d isabled=tr ue;"
<head></head>
<body>
<form name="test_form" method="post" action="javascript:alert('
<input type="file" name="browse" style="display:none;">
<input type="text" name="file">
<input type="button"
style="font-style:veranda;
onClick="this.form.browse.
value="Select a File...">
<br><br>
<input type="image" name="submit" src="submit.gif">
</form>
</body>
</html>