Solved

Error: 'invalid regular expression flag j'

Posted on 2011-03-03
3
1,343 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JavaScript code not working 3 33
How Close unsubmited attempts 10 46
DataTable column sorting incorrectly 2 21
How do I add counter to html listbox using jquery 2 26
Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

733 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