Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

save text input to selectmenu

thanks Katya,
I have changed the code to this,

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

save text input to selectmenu

I checked the code that Marina advised - it works.

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

save text input to selectmenu

This is what I used, no result

code
var newOption = '<option value=​"' + Tiggzi("coemailtextinput_email")&#46;val() + '">' + Tiggzi("conametextinput_name")&#46;val() + '<&#47;option>';
Tiggzi("taxicoselectmenu")&#46;append(newOption)&#46;selectmenu('refresh');
/code

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

save text input to selectmenu

Please ensure you are using correct component names

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

save text input to selectmenu

result is "undefined"

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

save text input to selectmenu

Hi Marina,
I have checked to component names, all are correct, when I click to save a selection is saved but the list reads undefined

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

save text input to selectmenu

Could you share your project with support@tiggzi.com?

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

save text input to selectmenu

Thanks Marina, shared

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

save text input to selectmenu

You have incorrect component names. It should be:

codevar newOption = '<option value=​"' + Tiggzi("coemailtextinput")&#46;val() + '">' + Tiggzi("conametextinput")&#46;val() + '<&#47;option>';
Tiggzi("taxicoselectmenu")&#46;append(newOption)&#46;selectmenu('refresh');/code

Instead of coemailtextinput_email should be coemailtextinput and
instead of conametextinput_name should be conametextinput

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

save text input to selectmenu

Thank you Marina,
this works, however I dont appear to have a variable to pull the list created from local storage

Return to “Issues”