How can i get multiple values in a jquery hash?
Example:
http://mysite.com/#l:value&v:id1212 same as but without page refresh http://mysite.com/?l=value&v=id1212
I thought something like:
var hash = location.hash.replace(/^.*?#/, '');
var lVal = (/^l:/.test( hash ));
var vVal = (/^v:/.test( hash ));
but how can i fix that var lVal only reads untill the & sign? Am i on the right direction?