I want to reload my page (PHP) on changing value from the dropdownmenu and passing the value of selected item as a variable alongwith one another variable to the page. I have tried following -

```
<select name="application" onChange=Refresh(this.value,$query)" \>
<option>Any Application</option>
<option>ChIP</option>
<option>Enzyme Immunoassay</option>
<option>ELISA</option>
<option>Flow Cytometry</option>
<option>FACS</option>
</select>

```

The Refresh function is:

```
function Refresh(id,gene){
location.href="getnet.php?app=" + id + "&query=" + gene;
}

```

And i am receiving variables as:

```
$query = $_POST['gene'];
$app = $_POST['application'];

```