Hello,
In my code i want the value of checkbox when i checked the checkbox and checkbox is in select box . i am doing some changes in dhtmlxcombo_extra.js file . and also fired onclick function but its give me “undefined” when i chekced the check the checkbox please give me solutions so i will find the value of the chexckbox onclick event. also i am fired click event on input type text and also copmbo list box but it give me “undefined”. please give me solutions so i when i checked the checkob then it gives me all thevalue of checkbox. i am sending u my code also js file .
html file
Checkbox Select
Checkbox Select
php files
<?php
header(“Content-type:text/xml”);
ini_set(‘max_execution_time’, 7000);
require_once(‘config.php’);
print("<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>");
?>
<?php
$link = mysql_pconnect($mysql_host, $mysql_user, $mysql_pasw);
$db = mysql_select_db ($mysql_db);
if (!isset($_GET[“pos”])) $_GET[“pos”]=0;
//print one level of the tree, based on parent_id
//function getDataFromDB($mask){
$sql = “SELECT DISTINCT item_nm FROM countries”;
// echo “ppp”. $sql.= " Order By item_nm LIMIT “. $_GET[“pos”].”,100";
print("");
$res = mysql_query ($sql);
if($res){
while($row=mysql_fetch_array($res)){
print("<option value="".$row[“item_nm”]."">");
print($row[“item_nm”]);
print("");
}
}else{
echo mysql_errno().": “.mysql_error().” at “.LINE.” line in “.FILE.” file
";
}
print("");
//}
?>
dhtmlxcombo_extra.js
//v.2.5 build 91111
/*
Copyright DHTMLX LTD. sales@dhtmlx.com
*/
i have done some changes in this file please chekc it and giv eme proper solution of my problem.