Solved

Error: 'invalid regular expression flag j'

Posted on 2011-03-03
3
1,409 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…

728 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