onclick event of checkbox


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



    ini_set(‘max_execution_time’, 7000);


    print("<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>");



    $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";



            $res = mysql_query ($sql);



                print("<option value="".$row[“item_nm”]."">");





            echo mysql_errno().": “.mysql_error().” at “.LINE.” line in “.FILE.” file






//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.


combo provides onCheck event. It occurs when option checkbox is clicked:


/your code here/

return true