mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 00:53:00 +01:00
New: add ajax_combox function
This commit is contained in:
@@ -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 ...
|
||||
|
||||
Reference in New Issue
Block a user