fetch multiple value of checkbox

ya this is working fine but i want to check the multiple checkbox then event must be fired as per below code

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



return true


i am getting only one value of checkbox , i want muliple value of checkbox and after that i want to add the value with the sql query and fetch data from databse.

this is my html file

Checkbox Select



    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





plaese reply me as soon as possible.

The getChecked method returns an array with values of checked options.

var checked_arr = combo.getChecked();