Wednesday, December 23, 2009

[jQuery] .attr issue in Chrome on Windows

Hi folks,
I'm using the Google CDN hosted JQuery file listed below:
http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js
I have this function below which works fine in Firefox (all os's), Safari and Chrome on mac, but not Chrome on Windows. Very strange!
function switchImage(t,filename) {
	$("#card").attr("src","/cache/" + t + "/" + filename); } 
Any ideas?
Scott.

No comments: