Question: Which of the following events are normally used in form element?
A
B
C
D
onClick()
B
onReset()
C
onSubmit()
D
onMouseMove()
Note: Example
<form onsubmit="return confirm('Are you sure to submit?')" onreset="return confirm('Are you sure to clear?')">
City:<select onchange="alert(this.value)">
<option>Dhaka</option>
<option>Khulna</option>
<option>Borishal</option>
</select>
Name:
<input type="text" onfocus="this.style.boxShadow='0 0 4px 3px rgba(0,0,0,.3)'" onblur="this.style.boxShadow='none'" />
<input type="submit" value="Submit">
<input type="reset" value="Reset">
</form>