Hello,
Apperyio('SELECT_MENU_LIST_NAME').selectmenu()[0].selectedOptions
where SELECT_MENU_LIST_NAME - name of your select menu component
In my case it was:
Apperyio('mobileselectmenu_9').selectmenu()[0].selectedOptions
Hello,
Apperyio('SELECT_MENU_LIST_NAME').selectmenu()[0].selectedOptions
where SELECT_MENU_LIST_NAME - name of your select menu component
In my case it was:
Apperyio('mobileselectmenu_9').selectmenu()[0].selectedOptions
This worked for me....
var my_phone = localStorage.getItem("phone");
var my_agent_id = localStorage.getItem("agent_id");
var my_wait_to_callback = Appery("callback_input_time").val();
$.get( "https://localhost.com", { var1: "foo", id: "7113", seq:"03", group: "18", p1: "bar", qphone: my_phone , p3: my_agent_id, p4: "not_now", p5: my_wait_to_callback} );
One more question related to this topic.
How would i code a dynamic email link using the same method.
var my_agent_id = localStorage.getItem("agent_id");
"mailto:a href="mailto:your@email.address" rel="nofollow"your@email.address/a?subject=Comments about the color blue"
Thanks again for your help! Any help on the above would be greatly appreciated!
Hello,
Could you please clarify what you want to implement?
Regards.
Hi Yurii,
I would like to have the following:
user clicks on a button to send an email
users local email client opens up
the subject of the email is a local storage variable
Thanks!
James
I figured it out...
var my_id = localStorage.getItem("agent_id");
var email = "a href="mailto:bob@example.com" rel="nofollow"bob@example.com/a";
window.location.href = "mailto:" + email + "?subject=" + my_id;