Skip to main content

Bug Tracker

Side navigation

#12328 closed bug (invalid)

Opened August 17, 2012 09:09AM UTC

Closed August 17, 2012 09:15AM UTC

Interprets parentheses in a string as 'function argument' ???

Reported by: em.andersson@home.se Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:
Description

This little piece of code should be OK shouldn't it.

It shows an errormessage "Line: 6196 Error: Invalid argument." on IE 8-9-10

(http://code.jquery.com/jquery-1.7.2.js works )

<!DOCTYPE html>
<html><head>
<script src='http://code.jquery.com/jquery-1.8.0.js'></script>
</head>
<body>
<script>
$('body').append('<b>aa</b>()','<b>bb</b>');
</script>
</body>
</html>
Attachments (0)
Change History (2)

Changed August 17, 2012 09:15AM UTC by jaubourg comment:1

This is a bug tracker. For questions regarding using jQuery and general support, please use the forums or IRC, as stated in the bug reporting guidelines: http://docs.jquery.com/How_to_Report_Bugs#Make_sure_it_is_a_jQuery_bug

Changed August 17, 2012 09:15AM UTC by jaubourg comment:2

description: This little piece of code should be OK shouldn't it. \ It shows an errormessage "Line: 6196 Error: Invalid argument." on IE 8-9-10 \ (http://code.jquery.com/jquery-1.7.2.js works ) \ \ \ <!DOCTYPE html> \ <html><head> \ <script src='http://code.jquery.com/jquery-1.8.0.js'></script> \ </head> \ <body> \ <script> \ $('body').append('<b>aa</b>()','<b>bb</b>'); \ </script> \ </body> \ </html>This little piece of code should be OK shouldn't it. \ It shows an errormessage "Line: 6196 Error: Invalid argument." on IE 8-9-10 \ (http://code.jquery.com/jquery-1.7.2.js works ) \ \ {{{ \ <!DOCTYPE html> \ <html><head> \ <script src='http://code.jquery.com/jquery-1.8.0.js'></script> \ </head> \ <body> \ <script> \ $('body').append('<b>aa</b>()','<b>bb</b>'); \ </script> \ </body> \ </html> \ }}}
resolution: → invalid
status: newclosed