hi,
I want to change the combobox displaying value depending up on the action value. This is the example code,
[code=html]
<html>
<head>
</head>
<script Language="JavaS cript">
function check(action)
{
if(action=="hou rly")
{
//code insert here
//this action equals hourly i have to display the Hourly in the combobox.
}
}
</script>
<body onLoad="check(' hourly')">
<SELECT name=NavBox id="NavCo">
<OPTION>Defau lt
<OPTION>Hourl y
<OPTION>Daily
<OPTION>Monthly </OPTION>
</SELECT>
</body>
</html>
[/code]
How can i do this.
Thanks in advance.
I want to change the combobox displaying value depending up on the action value. This is the example code,
[code=html]
<html>
<head>
</head>
<script Language="JavaS cript">
function check(action)
{
if(action=="hou rly")
{
//code insert here
//this action equals hourly i have to display the Hourly in the combobox.
}
}
</script>
<body onLoad="check(' hourly')">
<SELECT name=NavBox id="NavCo">
<OPTION>Defau lt
<OPTION>Hourl y
<OPTION>Daily
<OPTION>Monthly </OPTION>
</SELECT>
</body>
</html>
[/code]
How can i do this.
Thanks in advance.
Comment