Hunny
08-29-2005, 01:53 AM
i want to get the title of combo box items how do i get that .
CODE GOES HERE:
<select name=course_name size=18 onClick='call(this.form)'>";
while($rows=mysql_fetch_row($query))
{
echo "<option value='$rows[0]'>$rows[1]";
}i wan to get the value which is in $rows[1] in the function called in javascript. how do i get that ?
CODE GOES HERE:
<select name=course_name size=18 onClick='call(this.form)'>";
while($rows=mysql_fetch_row($query))
{
echo "<option value='$rows[0]'>$rows[1]";
}i wan to get the value which is in $rows[1] in the function called in javascript. how do i get that ?