Hi,
I need to redirect my page to itself on th onChange event of the select box with the value selected.I am using:
<script language="javascript" type="text/javascript">
function redirect(URLStr) { location = URLStr; }
</script>
....
<select name="select_project" id="select_project" onChange="javascript:redirect('add_pro_sv.php?sproject=this.value');">
How can i use this variable in my php code?
I need to redirect my page to itself on th onChange event of the select box with the value selected.I am using:
<script language="javascript" type="text/javascript">
function redirect(URLStr) { location = URLStr; }
</script>
....
<select name="select_project" id="select_project" onChange="javascript:redirect('add_pro_sv.php?sproject=this.value');">
How can i use this variable in my php code?