New: add ajax_combox function
This commit is contained in:
parent
5d780a9dc1
commit
4cf57c1b39
@ -560,7 +560,7 @@ class FormCompany
|
||||
else
|
||||
{
|
||||
$javaScript = "window.location='./contact.php?".$var_id."=".$object->id."&".$htmlname."=' + form.".$htmlname.".options[form.".$htmlname.".selectedIndex].value;";
|
||||
print '<select class="flat" name="'.$htmlname.'" onChange="'.$javaScript.'">';
|
||||
print '<select class="flat" id="'.$htmlname.'" name="'.$htmlname.'" onChange="'.$javaScript.'">';
|
||||
$num = $object->db->num_rows($resql);
|
||||
$i = 0;
|
||||
if ($num)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user