bootstrap 3 toggle button not working

时间:2017-12-18 07:29:01

标签: javascript jquery html twitter-bootstrap twitter-bootstrap-3

Yes i know this question has been asked previously on Stackoverflow millions of time,i looked over them but still unable to find what's wrong.Any help would be appreciated,thank you.

$temp = null;

$result = [];
while(odbc_fetch_row($biaya)) {
   $no++;
   $sub_title=odbc_result($biaya,"subtitle");
   $title=odbc_result($biaya,"title");
   if($temp != $sub_title) {
      $result[$sub_title] = ["no" => $no, "subtitle" => $sub_title, "title" => $title];
      $temp = $sub_title;


   }
   else {
      $result[$sub_title][] = ["no" => $no, "subtitle" => $sub_title, "title" => $title];
   }
}

1 个答案:

答案 0 :(得分:0)

jQuery file should be loaded first in order to achieve that.

So it should be like this.

tag