14
rated 0 times
[
18]
[
4]
/ answers: 1 / hits: 46966
/ 11 Years ago, mon, july 15, 2013, 12:00:00
I have written the following javascript function
function getval(sel)
{
window.location.href = Posts?Category=<%= sel %>;
}
but the value of sel variable is not considered in querystring..
Instead of it, it takes value like following.
...../Post/Posts?Category=%3C%=%20sel%20%%3E
Can anyone help me???
More From » javascript