Hi I'm new to scripting
Trying to change the css acording to a url variable, using jqURL plugin. for some reason this does not work for me:
$(function(){
var n= $.jqURL.qs();
alert(n)
$("link[rel=stylesheet]").attr({href : 'n + ".css"'});
});
the alert is there for debug, and works well, so it is a matter of how i put the var in the attribute.
this, for example, works fine:
if(n == 'red') {
$("link[rel=stylesheet]").attr({href : "red.css"});}
help please