2012-04-16 56 views

回答

1

您需要在點擊事件提交表單:

<input type="image" src="notify_me.png" onclick="document.forms[0].submit();" /> 

您還應該使用類型的輸入提交:

<input type="submit" style="width:(width); height:(height); background-image:url('notify_me.png'); border:none; padding:0;" /> 
0

添加回真禁用onClick事件後。

<input type="image" src="notify_me.png" name="Submit" id="submit" onClick="this.disabled = true; return true;" value="" /> 
相關問題