Solved

Error: 'invalid regular expression flag j'

Posted on 2011-03-03
3
1,282 Views
Last Modified: 2012-05-11
I'm not sure where this came from, since everything in the application checks out functionally.  Simply put, the error doesn't seem to affect anything.  None the less, I'd prefer to be error free.  Any help in solving this issue would be appreciated.

Console Error:  (copied from fireBug)
invalid regular expression flag j
(?)()
$ = function()
admin()
+ '<td style="position:relative;pa..../../jscripts/ + aImg[4].src + ');">'

Script Causing Error:
var top = $('#libraryContainer').offset().top - parseFloat($('#libraryContainer').css('marginTop').replace(/auto/, 0));
0
Comment
Question by:brianmfalls
  • 2
3 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 35030097
It seems that the /../j part of your table-cell tag is being picked up as a regular expression. What is that block of code that you posted (under "Console Error")?
0
 
LVL 1

Accepted Solution

by:
brianmfalls earned 0 total points
ID: 35085392
As it turns out, it was a conflict with the js library.
0
 
LVL 1

Author Closing Comment

by:brianmfalls
ID: 35126337
No other answer matches.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
This article discusses how to create an extensible mechanism for linked drop downs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question