New: add ajax_combox function

This commit is contained in:
Regis Houssin
2011-04-25 14:24:43 +00:00
parent eabe073565
commit 5d780a9dc1
3 changed files with 48 additions and 67 deletions

View File

@@ -197,6 +197,22 @@ function ajax_dialog($title,$message,$w=350,$h=150)
return $msg;
}
/**
* Convert combox
*/
function ajax_combobox($htmlname)
{
$msg.= '<script type="text/javascript">
$(function() {
$( "#'.$htmlname.'" ).combobox();
});
</script>';
$msg.= "\n";
return $msg;
}
/**
*
* Enter description here ...