I did this
i call a jquery function
at the beginning of page load by "page show" event
and i am calling the the function with a button from another page to to clear everything to come this page
but still problem
showing first time entering phone no for a while then being reset
function reset_data() {
Appery("input_phone_no").val("");
Appery("btn_logout").hide();
Appery("btn_no_redeem").hide();
Appery("lbl_welcome_message").text("Welcome!");
Appery("lbl_status").text("");
Code: Select all
Appery("lbl_thank").text("");
Appery("lbl_thank_reward").val("");
Appery("btn_confirm").hide();
Appery("mobileheader_thank_you").hide();
Appery("mobilefooter_thank_you").hide();
Appery("lbl_center_message").text("");
Appery("lbl_center_message").hide();
Appery("btn_logout").text("");
}