I have an href link as follows.i have to spilt name
value and id
value separately.
[email protected]&id=68
Using jquery how can i split [email protected]
and 68
i tried the following one
var val =location.href.split('?')[1]
which outputs the [email protected]&id=68
i have to output [email protected] and 68
separately..how it is possible..