I have a jquery slider
slide: function(e, ui){
var value = $('#changeTableSlider').slider('value');
$(this).attr("href",$(this).attr('href')+'&minSquaredAverage'=value);
}
On slider slide action I want to add new parameter to the current url. Firebug is currently giving me error on this like “invalid assignment left hand side”. Need help please.??
The equal sign needs to be inside the single quote. You also need to use a
+to concatenate the value ofvalueon to the string. See below.