I am trying to return multiple parameters with jquery but it gives me only the first parameter
<button class="call">Click</button>
$.readHash = function(a,b){
var a = '1';
var b = '2';
return a;
return b;
}
$(".call").click(function(){
var a = $.readHash(a);
alert(a);
var b = $.readHash(b);
alert(b);
});
I guess i am doing something worng?