how to post select text from combobox to javascript variable while submit form

In order to get the value of selected option you can use the following method:

var sel_val = combo.getActualValue();

If you use submit input, this method can be called, for example, when onclick event occurs, or from onsubmit event of form.

Technically , when combo created inside form - its value will be included in form submit automatically.