when I click the **detail** link the value of **`$record[id]`** has been sent to **showUser** the value store in variable **e** in javascript I need this value of **e** in php how can I get the value of **e** in php.

```
echo 
    "<td>"."
         <a  href='#?value=$record[id]' onClick='showUser($record[id])';  >Detail</a>
    "."</td>";

<script>
function showUser(str) {
var e=str;
} 
</script>

```