Bug Tracker

Opened 10 years ago

Closed 10 years ago

#6336 closed bug (invalid)

jquery fails in IE

Reported by: jquery_user Owned by:
Priority: Milestone: 1.4.3
Component: unfiled Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:

Description

<!DOCTYPE HTML PUBLIC "-W3CDTD HTML 4.01 TransitionalEN" "http://www.w3.org/TR/html4/loose.dtd"> <html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Test</title> <script type="text/javascript" src="jquery-1.3.2.js"></script> <script type="text/javascript">

$(document).ready(function(){

$(document).find('form').attr('id', 'FRM_0');

});

</script>

</head> <body>

<form id="testForm" method="post" action="#" onsubmit="return false;">

<input type="hidden" name="id" value="" />

</form>

</body>

</html>

Change History (2)

comment:1 Changed 10 years ago by dmethvin

Don't give your form elements the same names as standard form properties (id, name, action, method, etc.)

http://yura.thinkweb2.com/domlint/

comment:2 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.