Hey everyone, i have got a strange problem. How i can use javascript with a combobox onchange event?
Here is a code part with combo box:
and getcombo1(lb) is described in javascript section as following:
But when i select an combobox item, nothing happens. Why? My form trully has got a name "myform", everything should work fine, as in tutorials, but it is not.
Here is a code part with combo box:
<select class="cf_inputbox validate-selection" id="select_5" size="1" title="you must select something from here" name="select_5" onchange="getcomobo1(this);">
and getcombo1(lb) is described in javascript section as following:
function getcombo1(lb){
var frm=document.ChronoContacts_myform;
frm.alert("This is an alert from");
}
But when i select an combobox item, nothing happens. Why? My form trully has got a name "myform", everything should work fine, as in tutorials, but it is not.