1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| function load_sub_jquery(url, specialite, var_sub_exp, titre)
{
$('#CMP_ajax_recipient').load('view/'+url+'.php','SPECIALITE='+specialite+'&VAR='+var_sub_exp);
$('#CMP_ajax_recipient').dialog({
modal: true,
autoOpen: false,
position: 'center',
height:600,
width:800,
maxHeight:500,
maxWidth:8500,
resizable:false,
buttons: {
"Retour": function() {
$(this).html("");
$(this).dialog("close");
}
}
});
$('#CMP_ajax_recipient').dialog('option', "title", titre);
$('#CMP_ajax_recipient').dialog('open');
} |
Partager