Link to home
Start Free TrialLog in
Avatar of brianmfalls
brianmfallsFlag for United States of America

asked on

Error: 'invalid regular expression flag j'

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));
Avatar of kaufmed
kaufmed
Flag of United States of America image

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")?
ASKER CERTIFIED SOLUTION
Avatar of brianmfalls
brianmfalls
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of brianmfalls

ASKER

No other answer matches.