I have a a drop down filed like below.
HTML and PHP
<select id="selectform_0">
<option value="0">1</option>
<option value="1">2</option>
<option value="2">3</option>
<option value="3">4</option>
<option value="4">5</option>
</select>
<input type="button" onclick="selectValue(<?php echo $id; ?>)
">
And Javascript
<script>
function selectValue(id)
{
//take select value
alert(selectvalue);
}
</script>
is there anyway to take value from it by javascript strictly by not using <form>