dhtmlxcombo with jqery $.post

I have many dhtmlxCombos in my form and want to use ajax to save the contents of the form to a db when it is submitted.



I have experience with using jquery as below. But the value of the combos is not accessible. Is there a way to get the values using this method, or is there a better way to do this using dhtmlxAjax?



$("#addrecipe").submit(function()

    {

     //remove all the class add the messagebox classes and start fading

     $("#msgbox").removeClass().addClass(‘messagebox’).text(‘Saving…’).fadeIn(1000);

     $("#msgbox1").removeClass().addClass(‘messagebox’).text(‘Saving…’).fadeIn(1000);

    

     $.post(“save.php”,{

         id:$(’#id’).val(),

         save:$(’#submit’).val(),

         name:$(’#name’).val(),

         image:$(’#image’).val(),

         newimage:$(’#newimage’).val(),

         measure:$(’#measure’).val(),

         cat0:$(’#cat0’).val(),

         cat1:$(’#cat1’).val(),

         cat2:$(’#cat2’).val(),

         cat3:$(’#cat3’).val()

     } ,function(data) {…

Please, see the answer dhtmlx.com/docs/products/kb/inde … al&q=11715