Ticket #4832 (closed bug: invalid)
" Expected ';' " with very high line number in IE7
| Reported by: | AndyBurns | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.3.2 |
| Component: | unfiled | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I'm running the following code to add some DIV tags around a table in a page in SharePoint:
<script language="javascript" type="text/javascript"> $(document).ready(function() { $("td[id='MSOZoneCell_WebPart']>table").wrap('<div class="roundedbox">'
+ '<div class="t">' + '<div class="b">' + '<div class="l">' + '<div class="r">' + '<div class="bl">' + '<div class="br">' + '<div class="tl">' + '<div class="tr">' + '</div>' + '</div>' + '</div>' + '</div>' + '</div>' + '</div>' + '</div>' + '</div>' + '</div>');
});; </script>
The context of this is described here: http://www.novolocus.com/2009/06/30/rounded-corners-on-web-parts/
The query works, but I get a Javascript error of "Expected ';'" with an absurdly high line number (over 120000000 last time!) The line number does vary. The error doesn't appear to harm the functioning of my page.
Please note that this is very similar sounding to ticket #4765 ( http://dev.jquery.com/ticket/4765)
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

This isn't specific enough to be filed as a bug. If you can narrow down the problem to a jQuery Core issue via forums discussion or other means, please reopen here with a simple test case.