Side navigation
#7564 closed bug (duplicate)
Opened November 19, 2010 09:45AM UTC
Closed November 19, 2010 10:02AM UTC
Last modified November 19, 2010 10:02AM UTC
Chrome and Safari seem to strip double quotes van result form .css()
Reported by: | wj.vandenbrink@gmail.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.5 |
Component: | unfiled | Version: | 1.4.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Using .css() gives different results depending on browser, namely minimally one difference between Firefox, IE, Opera on the one hand and Chrome and Safari on the other, specifically: double quotes are absent in the Crhome-result while present in the Fireforx-result:
backgroundurlnow = $('div.backgroundholder').css('background-image');////want to know background image alert(backgroundurlnow);
----------
gives in the alertbox:
url("http://localhost--etc--.jpg")
with Firefox, IE and Opera, but
url(http://localhost--etc--.jpg)
with Crhome and Safary
(jquery-1.4.4.min.js)