Hi,
I have been trying this for a few hours, but couldnt get it to work. I added a screenshot, easier to explain.

If I press the + a form pops up. When I press submit the value (COMMITTEE) in the selectbox 'type' should also be posted to the server. Type is also a hidden column within my grid btw.
My AddOptions contains a param: editData:{roletype_code:jQuery(“#roletype_code :selected”).val()}, to add the extra paramater,
but this doesnt work, somehow it always posts the first entry from the selectbox, not the actualy selected one.
I also tried adding it to: editurl: 'jsonservlet?action=function_action&roletype_code='+jQuery(“#roletype_code :selected”).val()
but same problem.
So what am I doing wrong?
kind regards
Ido
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top