i have the following html page:
<html>
<head>
<title>Testpage</title>
</head>
<body>
<a href="#">
<input type="checkbox">
someText
</a>
</body>
</html>
When i open this in firefox (10.0.2) and click on the checkbox the dash is append to the url. If i do this in IE9 nothing happens. If i however click on the text “someText” it works in both browsers. It is a very simple Problem but i could not find any solution, and could not understand this behavior. I hope somebody can help me.
kukudas
Try adding an onclick event to the check box. Here is an example:
This should solve the problem.