<!DOCTYPE HTML PUBLIC "-//WC3/DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<body>
<label>A label
<input type="button" value="First" onClick="alert('First');" />
<input type="button" value="Second" onClick="alert('Second');" />
</label>
</body>
</html>
Tried this code in Firefox 3.6.8. When I click "first" it displays "first". When I click "second", it displays "second, and then "first"? Is this a weird onClick behavior due to block level tags (input) in inline tag (label)?