any problem with this statement
Posted: Tue Jan 06, 2004 8:49 am
<javascript>
<option value="General" if(subgenre == "General") document.write("SELECTED");>General</option>
</script>
is it okay if i write a statement like this?? will it work??
subgenre is a variable...
i have a form and wanna display the value that is obtained from the database in a select form
<option value="General" if(subgenre == "General") document.write("SELECTED");>General</option>
</script>
is it okay if i write a statement like this?? will it work??
subgenre is a variable...
i have a form and wanna display the value that is obtained from the database in a select form