jquery get background position
Posted on 2011-03-03
Good Afternoon All,
some background - I am pasing a function 4 parameters, all strings. noteid, marLeft, marTop, direction.
I am getting the last two characters from the noteid and assigning them to a pageid.
I am then trying to get the background-position that is currently assigned to the pageid. I am using:
var pgBkgd = $("#"+pageid).css('background-position');
in firefox I get something like 0px 80px
in IE I get undefined.
Can anyone help me out here?