Error: 'invalid regular expression flag j'
Posted on 2011-03-03
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()
+ '<td style="position:relative;pa..../../jscripts/ + aImg.src + ');">'
Script Causing Error:
var top = $('#libraryContainer').offset().top - parseFloat($('#libraryContainer').css('marginTop').replace(/auto/, 0));