I need to save label and value of 2 textinputs to select menu
company name is label and company email is value
Hello! Please use JS on button Click. It should be something like this:
codevar newOption = '<option value="' + Tiggzi("mobiletextinput_email").val() + '">' + Tiggzi("mobiletextinput_name").val() + '</option>';
Tiggzi("mobileselectmenu").append(newOption).selectmenu('refresh');/code
Hi Marina,
I tried this, I altered code for components
var newOption = '' + Tiggzi("conametextinput").val() + '';
Tiggzi("taxicoselectmenu").append(newOption).selectmenu('refresh');
have I got it wrong,
cheers.
sorry Marina,
this code
var newOption = '' + Tiggzi("conametextinput").val() + '';
Tiggzi("taxicoselectmenu").append(newOption).selectmenu('refresh');
sorry Marina,
this code
var newOption = ');
Hello! Not sure I understand your problem. Could you clarify please?
To post the code use code tag
Hi Marina,
this is the code I altered, no result
code
var newOption = '' + Tiggzi("conametextinput_name").val() + '';
Tiggzi("taxicoselectmenu").append(newOption).selectmenu('refresh');
Some inline codecode/code
I cant get this to show right code
Hello,
You can place your code between code tags or use pastebin.com