Why this script cannot send the value in the button with onclick action simple javascript
<input type="submit" onclick="(document.getElementById('act').value='delete_user')&&(document.getElementById('uid').value='1')" >
But this script worked
<input type="submit" onclick="(document.getElementById('act').value='delete_user')>
How make both values get work ?