Skip to main content

Bug Tracker

Side navigation

#4832 closed bug (invalid)

Opened June 30, 2009 11:45AM UTC

Closed August 07, 2009 04:40PM UTC

" 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:
Blocked by: Blocking:
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)

Attachments (0)
Change History (1)

Changed August 07, 2009 04:40PM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

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.