maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

sendgrid adding input fields

var name = localStorage.getItem("_name") + "\n";

http://stackoverflow.com/questions/11...

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

sendgrid adding input fields

sorry Max,
this is what I did but it didn't have any effect, did i miss something

var name = localStorage.getItem("name"); + "\n";
var mobile = localStorage.getItem("mobile"); + "\n";
var pickupinput = localStorage.getItem("pickupinput"); + "\n";
var destinationinput = localStorage.getItem("destinationinput"); + "\n";

return name + " " + mobile + " " + pickupinput + " " + destinationinput + " " + value;

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

sendgrid adding input fields

Take out ; after ).

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

sendgrid adding input fields

As always Max
I thank you ever so, the support here is wonderful

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

sendgrid adding input fields

Hi Max,
I have 2 last questions on this I am using mobileselectmenu as a time picker, I need to read the value clicked, I mapped it and stored local storage as before but the result is returned the word true, heres what I've done
var name = localStorage.getItem("name") + "\n";
var mobile = localStorage.getItem("mobile") + "\n";
var pickupinput = localStorage.getItem("pickupinput") + "\n";
var mobileselectmenu1 = localStorage.getItem("mobileselectmenu1") + "\n";
var destinationinput = localStorage.getItem("_destinationinput") + "\n";

return name + " " + mobile + " " + pickupinput + " " + mobileselectmenu1 + " " + destinationinput + " " + value;

I also need to read the date picker

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

sendgrid adding input fields

Do you mean value selected from a select menu list (same as drop down list)?

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

sendgrid adding input fields

yes Max, that what I am trying to use as a timepicker but I could change to drop down list if it makes it any better or easier to read in the email

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

sendgrid adding input fields

It's all jQuery:
http://stackoverflow.com/questions/10...

code
Tiggzi('mobileselectmenu1').val();
/code
or
code
$('select[dsid="mobileselectmenu1"]').val();
/code

Return to “Issues”