Skip to main content

Bug Tracker

Side navigation

#6336 closed bug (invalid)

Opened March 22, 2010 09:20PM UTC

Closed March 23, 2010 01:36AM UTC

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>

Attachments (0)
Change History (2)

Changed March 23, 2010 01:36AM UTC by dmethvin comment:1

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

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

Changed March 23, 2010 01:36AM UTC by dmethvin comment:2

resolution: → invalid
status: newclosed