I'm sure there is an easy way to do what I want but I'm failing to find
it...
I have a single web page with links back to itself with set query
strings...
href="?data=x"
href="?data=y"
href="?data=z"
This works fine...
The problem is that now I need to update/add to the query string based on
selection of radio buttons on the page. Since the href above drives
"page_load" all values are set to default...
Is there a way to append to the href with more data on the client side?
such as add a variable that is updated on the page based on the radio
button selected? Then passed when they select the link? I'm sure this is
something easy but what i have tried has failed...
<html>
....
<script>
function addQS()
{
var qs;
// Construct the query string based on radio buttons and assign in to qs
window.location.href = <current page> + "?" + qs;
}
</script>
<body onunload="addQS();">
....
I'm sure there is an easy way to do what I want but I'm failing to find
it...
I have a single web page with links back to itself with set query
strings...
href="?data=x"
href="?data=y"
href="?data=z"
This works fine...
The problem is that now I need to update/add to the query string based on
selection of radio buttons on the page. Since the href above drives
"page_load" all values are set to default...
Is there a way to append to the href with more data on the client side?
such as add a variable that is updated on the page based on the radio
button selected? Then passed when they select the link? I'm sure this is
something easy but what i have tried has failed...