Bug Tracker

Modify

Ticket #6336 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

jquery fails in IE

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

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

comment:1 Changed 3 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 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.