Page 5 of 5

sendgrid adding input fields

Posted: Thu Aug 23, 2012 10:37 pm
by maxkatz

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

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


sendgrid adding input fields

Posted: Thu Aug 23, 2012 11:07 pm
by Michael4771079

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;


sendgrid adding input fields

Posted: Thu Aug 23, 2012 11:13 pm
by maxkatz

Take out ; after ).


sendgrid adding input fields

Posted: Thu Aug 23, 2012 11:33 pm
by Michael4771079

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


sendgrid adding input fields

Posted: Tue Aug 28, 2012 7:15 pm
by Michael4771079

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


sendgrid adding input fields

Posted: Tue Aug 28, 2012 9:53 pm
by maxkatz

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


sendgrid adding input fields

Posted: Tue Aug 28, 2012 10:01 pm
by Michael4771079

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


sendgrid adding input fields

Posted: Tue Aug 28, 2012 10:14 pm
by maxkatz

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

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