¡@

Home 

2014/10/16 ¤W¤È 12:04:56

jquery Programming Glossary: login

docCookie is not getting saved instantly

http://stackoverflow.com/questions/11641662/doccookie-is-not-getting-saved-instantly

is not getting saved instantly i have 2 jsp pages. One is login.jsp and other is account.jsp. on login.jsp the user logins and.. 2 jsp pages. One is login.jsp and other is account.jsp. on login.jsp the user logins and his email address is to be stored as.. login.jsp and other is account.jsp. on login.jsp the user logins and his email address is to be stored as cookie on the computer...

jQuery Mobile: Sending data from one page to the another

http://stackoverflow.com/questions/14776387/jquery-mobile-sending-data-from-one-page-to-the-another

mobile 1.2.0 jquery.mobile 1.2.0.min.css style #login button margin top 30px style script src http www.dragan gaic.info.. src js custom.js script head body div data role page id login div data theme a data role header h3 Login Page h3 div div.. value name password id password a data role button id login button data theme b Login a div div data theme a data role footer..

jQuery Mobile: How to correctly submit form data

http://stackoverflow.com/questions/15205437/jquery-mobile-how-to-correctly-submit-form-data

mobile 1.2.0 jquery.mobile 1.2.0.min.css style #login button margin top 30px style script src http www.dragan gaic.info.. src js index.js script head body div data role page id login data theme b div data role header data theme a h3 Login Page.. echo Username index.js document .on 'pagebeforeshow' '#login' function document .on 'click' '#submit' function catch the..

dynamic drop down box?

http://stackoverflow.com/questions/16924082/dynamic-drop-down-box

this. I updated my example code to match your server login table field names so if you copy paste these two examples into.. localhost is the usual name of the server if apache Linux. login 'root' pword '' dbname 'test' mysql_connect server login pword.. login 'root' pword '' dbname 'test' mysql_connect server login pword or die connect_error or die mysql_error mysql_select_db..

How to manage a redirect request after a jQuery Ajax call

http://stackoverflow.com/questions/199099/how-to-manage-a-redirect-request-after-a-jquery-ajax-call

server sends a redirect directive to send the user to the login page. Nonetheless JQuery is replacing the div element with the.. is replacing the div element with the contents of the login page forcing the user's eyes to witness a rare scene indeed...

How to use type: “POST” in jsonp ajax call

http://stackoverflow.com/questions/4508198/how-to-use-type-post-in-jsonp-ajax-call

below JQuery Code .ajax type GET url Login.aspx Send the login info to this page data str dataType jsonp timeout 200000 jsonp.. success function result Show 'Submit' Button '#loginButton' .show Hide Gif Spinning Rotator '#ajaxloading' .hide..

Rails not reloading session on ajax post

http://stackoverflow.com/questions/5126721/rails-not-reloading-session-on-ajax-post

uses the cookie session store and I have a very simple login that sets the user id in the session. If the user_id isn't set.. If the user_id isn't set in the session it redirects to a login page. This works with no problems. JQuery GET requests work.. and therefore loses the session so it redirects to the login page and never gets to the method. I've tried everything I can..

How to use Basic Auth and Jquery and Ajax

http://stackoverflow.com/questions/5507234/how-to-use-basic-auth-and-jquery-and-ajax

I have a form form name cookieform id login method post input type text name username id username class..

A CORS POST request works from plain javascript, but why not with jQuery?

http://stackoverflow.com/questions/5584923/a-cors-post-request-works-from-plain-javascript-but-why-not-with-jquery

Allow Origin http www.example.com' if you need cookies or login etc header 'Access Control Allow Credentials true' if this getRequestMethod..

Facebook how to check if user has liked page and show content?

http://stackoverflow.com/questions/6246449/facebook-how-to-check-if-user-has-liked-page-and-show-content

And finally the javascript document .ready function FB.login function response if response.session var user_id response.session.uid.. user is not logged in So what what does it do First it logins to FB if you already have the USER ID and you are sure your.. your user is already logged in facebook you can bypass the login stuff and replace response.session.uid with YOUR_USER_ID from..

Submitting a form on 'Enter' with jQuery?

http://stackoverflow.com/questions/699065/submitting-a-form-on-enter-with-jquery

a form on 'Enter' with jQuery I have a bog standard login form an email text field a password field and a submit button.. I tried '.input' .keypress function e if e.which 13 'form#login' .submit But that neither stopped the clearing behavior or..

Maintain PHP Session in web app on iPhone

http://stackoverflow.com/questions/9998900/maintain-php-session-in-web-app-on-iphone

web app. On my iPhone when I am on the web app I have a login and session variables. If I leave the app to go to another location..

using the jquery validation plugin, how can I add a regex validation on a textbox?

http://stackoverflow.com/questions/1053618/using-the-jquery-validation-plugin-how-can-i-add-a-regex-validation-on-a-textbo

jquery ajax $.post not working IE10

http://stackoverflow.com/questions/11235613/jquery-ajax-post-not-working-ie10

not working IE10 I've tried this two ways. Way 1 function Login var email encodeURIComponent #loginemail .val var pass encodeURIComponent.. POST data email email password pass dataType json .done LoginDone .post user login email email password pass LoginDone Way.. .done LoginDone .post user login email email password pass LoginDone Way 2 function Login var email encodeURIComponent #loginemail..

docCookie is not getting saved instantly

http://stackoverflow.com/questions/11641662/doccookie-is-not-getting-saved-instantly

s password name pswd label Password s submit value Login s form script on login.jsp function save var email #email..

jQuery Mobile: Sending data from one page to the another

http://stackoverflow.com/questions/14776387/jquery-mobile-sending-data-from-one-page-to-the-another

role page id login div data theme a data role header h3 Login Page h3 div div data role content label for username Enter.. password a data role button id login button data theme b Login a div div data theme a data role footer data position fixed.. In case result is true change page to Index else alert 'Login unsuccessful please try again ' In case result is false throw..

jQuery Mobile: How to correctly submit form data

http://stackoverflow.com/questions/15205437/jquery-mobile-how-to-correctly-submit-form-data

login data theme b div data role header data theme a h3 Login Page h3 div div data role content form id check user class..

dynamic drop down box?

http://stackoverflow.com/questions/16924082/dynamic-drop-down-box

div id LaDIV div body html FILE 2 another_php_file.php php Login to database usually this is stored in a separate php file and..

jQuery AJAX error handling

http://stackoverflow.com/questions/2031168/jquery-ajax-error-handling

user user pass pass success function xhr if xhr Invalid Login xhr Invalid charaters in username. xhr Missing username or..

Redirect on Ajax Jquery Call

http://stackoverflow.com/questions/2927044/redirect-on-ajax-jquery-call

parseError errorThrown Invalid JSON Markup of my HTML Login Page document .ready function jQuery.ajax type GET url populateData.htm..

.post inside jQuery.validator.addMethod always returns false

http://stackoverflow.com/questions/2982594/post-inside-jquery-validator-addmethod-always-returns-false

xml register message Available message register echo xml Login function works but username checking doesn't. Any ideas Here..

How do I check if the request is made via AJAX with PHP?

http://stackoverflow.com/questions/4301150/how-do-i-check-if-the-request-is-made-via-ajax-with-php

a href http localhost codeigniter login_window rel dialog Login a I want to check if it is an ajax request and if not i will..

jQuery animation queues across multiple elements

http://stackoverflow.com/questions/505434/jquery-animation-queues-across-multiple-elements

by outputting a div with class alert eg div class alert Login successful div div class alert You have new messages waiting..

Access-Control-Allow-Origin error sending a jQuery Post to Google API's

http://stackoverflow.com/questions/6114436/access-control-allow-origin-error-sending-a-jquery-post-to-google-apis

xhr xhr.setRequestHeader 'Authorization' token function doLogin if token '' token google.accounts.user.login scope else alert.. logged' function doCheck token google.accounts.user.checkLogin scope return token script ... ... div data role content input.. ... ... div data role content input type button value Login onclick doLogin input type button value Get data onclick getModerator..

Facebook Login: How to combine JavaScript with PHP SDK?

http://stackoverflow.com/questions/6147631/facebook-login-how-to-combine-javascript-with-php-sdk

Login How to combine JavaScript with PHP SDK How do I go about combining.. still be null I am not a big fan of a href facebook getLoginUrl Login with Facebook a because it causes the browser to load.. be null I am not a big fan of a href facebook getLoginUrl Login with Facebook a because it causes the browser to load a different..

ASP.NET Form Fields Not POSTing from colorbox

http://stackoverflow.com/questions/6424638/asp-net-form-fields-not-posting-from-colorbox

none visibility hidden div id inline_login p strong User Login Details Go Here strong p User Name asp TextBox ID loginName.. br input type button name loginBtn id loginbtn value Login onclick javascript validateLogin div div asp Panel asp Label.. id loginbtn value Login onclick javascript validateLogin div div asp Panel asp Label ID xmlContent runat server ContentTemplate..

How to completley disable any MOUSE CLICK

http://stackoverflow.com/questions/8595909/how-to-completley-disable-any-mouse-click

body div id doc div id content ... input type button value Login id login ... div id content div id doc body html loading.js..

shadowbox stops working after jquery function call

http://stackoverflow.com/questions/9144577/shadowbox-stops-working-after-jquery-function-call

Tour a li li a id menulogin href login.html Login a li ul div Here you'll notice I have a relative url in the..

How to capture enter key being pressed on pages containing multiple forms?

http://stackoverflow.com/questions/764427/how-to-capture-enter-key-being-pressed-on-pages-containing-multiple-forms

brackets omitted deliberately input type button value LOGIN name btnLoginOk onclick submit input type button class button.. if they've just typed into a field associated with the LOGIN then detect that and action the onclick submit Perhaps there.. it belongs to. Even in this case input type button value LOGIN name btnLoginOk onclick submit Here submit is a global function..

Phonegap / jquery mobile slide transition not workign properly on first call

http://stackoverflow.com/questions/8095889/phonegap-jquery-mobile-slide-transition-not-workign-properly-on-first-call

div id header_bottom div div div id slide_mask START of LOGIN page div data role page id login div id home_frame div id.. user password size 30 p button onclick show_page_home LOGIN button div div div END of LOGIN page START of LOGIN page.. onclick show_page_home LOGIN button div div div END of LOGIN page START of LOGIN page div data role page id dives class..

docCookie is not getting saved instantly

http://stackoverflow.com/questions/11641662/doccookie-is-not-getting-saved-instantly

is not getting saved instantly i have 2 jsp pages. One is login.jsp and other is account.jsp. on login.jsp the user logins and his email address is to be stored as cookie on the computer... is not getting saved instantly i have 2 jsp pages. One is login.jsp and other is account.jsp. on login.jsp the user logins and his email address is to be stored as cookie on the computer. the cookie i am using is docCookie.. is not getting saved instantly i have 2 jsp pages. One is login.jsp and other is account.jsp. on login.jsp the user logins and his email address is to be stored as cookie on the computer. the cookie i am using is docCookie . when user login successfully..

jQuery Mobile: Sending data from one page to the another

http://stackoverflow.com/questions/14776387/jquery-mobile-sending-data-from-one-page-to-the-another

height initial scale 1.0 link rel stylesheet href http code.jquery.com mobile 1.2.0 jquery.mobile 1.2.0.min.css style #login button margin top 30px style script src http www.dragan gaic.info js jquery 1.8.2.min.js script script src http code.jquery.com.. mobile 1.2.0 jquery.mobile 1.2.0.min.js script script src js custom.js script head body div data role page id login div data theme a data role header h3 Login Page h3 div div data role content label for username Enter your username label.. for password Enter your password label input type password value name password id password a data role button id login button data theme b Login a div div data theme a data role footer data position fixed div div div data role page id index..

jQuery Mobile: How to correctly submit form data

http://stackoverflow.com/questions/15205437/jquery-mobile-how-to-correctly-submit-form-data

height initial scale 1.0 link rel stylesheet href http code.jquery.com mobile 1.2.0 jquery.mobile 1.2.0.min.css style #login button margin top 30px style script src http www.dragan gaic.info js jquery 1.8.2.min.js script script src http code.jquery.com.. mobile 1.2.0 jquery.mobile 1.2.0.min.js script script src js index.js script head body div data role page id login data theme b div data role header data theme a h3 Login Page h3 div div data role content form id check user class ui.. Get password from object Lets say everything is in order echo Username index.js document .on 'pagebeforeshow' '#login' function document .on 'click' '#submit' function catch the form's submit event if '#username' .val .length 0 '#password'..

dynamic drop down box?

http://stackoverflow.com/questions/16924082/dynamic-drop-down-box

what you want. Essentially you can use jQuery AJAX to accomplish this. I updated my example code to match your server login table field names so if you copy paste these two examples into files call them tester.php and another_php_file.php then.. and included in each file where required server 'localhost' localhost is the usual name of the server if apache Linux. login 'root' pword '' dbname 'test' mysql_connect server login pword or die connect_error or die mysql_error mysql_select_db dbname.. localhost is the usual name of the server if apache Linux. login 'root' pword '' dbname 'test' mysql_connect server login pword or die connect_error or die mysql_error mysql_select_db dbname or die connect_error Get value posted in by ajax selStudent..

How to manage a redirect request after a jQuery Ajax call

http://stackoverflow.com/questions/199099/how-to-manage-a-redirect-request-after-a-jquery-ajax-call

the User's current page. However if the session timeouts the server sends a redirect directive to send the user to the login page. Nonetheless JQuery is replacing the div element with the contents of the login page forcing the user's eyes to witness.. directive to send the user to the login page. Nonetheless JQuery is replacing the div element with the contents of the login page forcing the user's eyes to witness a rare scene indeed. How can I manage a redirect directive from an Ajax call jQuery..

How to use type: “POST” in jsonp ajax call

http://stackoverflow.com/questions/4508198/how-to-use-type-post-in-jsonp-ajax-call

in jsonp ajax call I am using JQuery ajax jsonp. I have got below JQuery Code .ajax type GET url Login.aspx Send the login info to this page data str dataType jsonp timeout 200000 jsonp skywardDetails success function result Show 'Submit' Button.. this page data str dataType jsonp timeout 200000 jsonp skywardDetails success function result Show 'Submit' Button '#loginButton' .show Hide Gif Spinning Rotator '#ajaxloading' .hide The above code is working fine I just want to send the request..

Rails not reloading session on ajax post

http://stackoverflow.com/questions/5126721/rails-not-reloading-session-on-ajax-post

I don't think it's specific to jQuery . My Rails application uses the cookie session store and I have a very simple login that sets the user id in the session. If the user_id isn't set in the session it redirects to a login page. This works with.. a very simple login that sets the user id in the session. If the user_id isn't set in the session it redirects to a login page. This works with no problems. JQuery GET requests work fine too. The problem is when I do a jQuery POST the browser.. occurs but it seems that at some point Rails loses this value and therefore loses the session so it redirects to the login page and never gets to the method. I've tried everything I can think of to debug this but I'm coming around to the idea..

How to use Basic Auth and Jquery and Ajax

http://stackoverflow.com/questions/5507234/how-to-use-basic-auth-and-jquery-and-ajax

The address should be something like http username password@server.in.local I have a form form name cookieform id login method post input type text name username id username class text input type password name password id password class text..

A CORS POST request works from plain javascript, but why not with jQuery?

http://stackoverflow.com/questions/5584923/a-cors-post-request-works-from-plain-javascript-but-why-not-with-jquery

need Allow Credentials seems to work header 'Access Control Allow Origin http www.example.com' if you need cookies or login etc header 'Access Control Allow Credentials true' if this getRequestMethod 'OPTIONS' header 'Access Control Allow Methods..

Facebook how to check if user has liked page and show content?

http://stackoverflow.com/questions/6246449/facebook-how-to-check-if-user-has-liked-page-and-show-content

font size 11px #container_notlike #container_like display none And finally the javascript document .ready function FB.login function response if response.session var user_id response.session.uid var page_id 40796308305 coca cola var fql_query SELECT.. you could get the content for a non liker in ajax... else user is not logged in So what what does it do First it logins to FB if you already have the USER ID and you are sure your user is already logged in facebook you can bypass the login.. to FB if you already have the USER ID and you are sure your user is already logged in facebook you can bypass the login stuff and replace response.session.uid with YOUR_USER_ID from your rails app for example After that it makes a FQL query..

Submitting a form on 'Enter' with jQuery?

http://stackoverflow.com/questions/699065/submitting-a-form-on-enter-with-jquery

a form on 'Enter' with jQuery I have a bog standard login form an email text field a password field and a submit button on an AIR project that's using HTML jQuery. When I hit Enter.. Adobe AIR uses Webkit for HTML or if I've bunged things up I tried '.input' .keypress function e if e.which 13 'form#login' .submit But that neither stopped the clearing behavior or submitted the form. There's no action associated with the form..

Maintain PHP Session in web app on iPhone

http://stackoverflow.com/questions/9998900/maintain-php-session-in-web-app-on-iphone

PHP Session in web app on iPhone I have a jquery mobile web app. On my iPhone when I am on the web app I have a login and session variables. If I leave the app to go to another location on the phone and then return to the web app I have to..

using the jquery validation plugin, how can I add a regex validation on a textbox?

http://stackoverflow.com/questions/1053618/using-the-jquery-validation-plugin-how-can-i-add-a-regex-validation-on-a-textbo

jquery ajax $.post not working IE10

http://stackoverflow.com/questions/11235613/jquery-ajax-post-not-working-ie10

ajax .post not working IE10 I've tried this two ways. Way 1 function Login var email encodeURIComponent #loginemail .val var pass encodeURIComponent #password .val .ajax url user login type POST.. encodeURIComponent #password .val .ajax url user login type POST data email email password pass dataType json .done LoginDone .post user login email email password pass LoginDone Way 2 function Login var email encodeURIComponent #loginemail .val.. type POST data email email password pass dataType json .done LoginDone .post user login email email password pass LoginDone Way 2 function Login var email encodeURIComponent #loginemail .val var pass encodeURIComponent #password .val .post..

docCookie is not getting saved instantly

http://stackoverflow.com/questions/11641662/doccookie-is-not-getting-saved-instantly

text s textfield id email name email label Email address s password name pswd label Password s submit value Login s form script on login.jsp function save var email #email .val docCookies.setItem email email 10000 script on account.jsp..

jQuery Mobile: Sending data from one page to the another

http://stackoverflow.com/questions/14776387/jquery-mobile-sending-data-from-one-page-to-the-another

script script src js custom.js script head body div data role page id login div data theme a data role header h3 Login Page h3 div div data role content label for username Enter your username label input type text value name username id username.. password label input type password value name password id password a data role button id login button data theme b Login a div div data theme a data role footer data position fixed div div div data role page id index div data theme a data role.. if result true .mobile.changePage #index transition slide In case result is true change page to Index else alert 'Login unsuccessful please try again ' In case result is false throw an error This callback function will trigger on successful..

jQuery Mobile: How to correctly submit form data

http://stackoverflow.com/questions/15205437/jquery-mobile-how-to-correctly-submit-form-data

script src js index.js script head body div data role page id login data theme b div data role header data theme a h3 Login Page h3 div div data role content form id check user class ui body ui body a ui corner all data ajax false fieldset div..

dynamic drop down box?

http://stackoverflow.com/questions/16924082/dynamic-drop-down-box

option option value Chris Chris Edwards option select div id LaDIV div body html FILE 2 another_php_file.php php Login to database usually this is stored in a separate php file and included in each file where required server 'localhost' localhost..

jQuery AJAX error handling

http://stackoverflow.com/questions/2031168/jquery-ajax-error-handling

illustrate... .ajax type POST url login.php data action login user user pass pass success function xhr if xhr Invalid Login xhr Invalid charaters in username. xhr Missing username or password. xhr Unknown Error #loginMessageContent .html xhr..

Redirect on Ajax Jquery Call

http://stackoverflow.com/questions/2927044/redirect-on-ajax-jquery-call

correctly. As check the value of the xhr.status 200 textStatus parseError errorThrown Invalid JSON Markup of my HTML Login Page document .ready function jQuery.ajax type GET url populateData.htm dataType json data userId SampleUser success function..

.post inside jQuery.validator.addMethod always returns false

http://stackoverflow.com/questions/2982594/post-inside-jquery-validator-addmethod-always-returns-false

always returns if isset _POST username isset _POST checking xml register message Available message register echo xml Login function works but username checking doesn't. Any ideas Here is all of my code document .ready function jQuery.validator.addMethod..

How do I check if the request is made via AJAX with PHP?

http://stackoverflow.com/questions/4301150/how-do-i-check-if-the-request-is-made-via-ajax-with-php

I am using a jquery plugin FACEBOX 'a rel dialog ' .facebox a href http localhost codeigniter login_window rel dialog Login a I want to check if it is an ajax request and if not i will redirect them to homepage. so there's no way they can access..

jQuery animation queues across multiple elements

http://stackoverflow.com/questions/505434/jquery-animation-queues-across-multiple-elements

are reported back to the user info boxes errors warnings etc by outputting a div with class alert eg div class alert Login successful div div class alert You have new messages waiting div There could be any number of alerts on a page depending..

Access-Control-Allow-Origin error sending a jQuery Post to Google API's

http://stackoverflow.com/questions/6114436/access-control-allow-origin-error-sending-a-jquery-post-to-google-apis

alert 'Failed ' beforeSend setHeader function setHeader xhr xhr.setRequestHeader 'Authorization' token function doLogin if token '' token google.accounts.user.login scope else alert 'already logged' function doCheck token google.accounts.user.checkLogin.. token google.accounts.user.login scope else alert 'already logged' function doCheck token google.accounts.user.checkLogin scope return token script ... ... div data role content input type button value Login onclick doLogin input type button.. token google.accounts.user.checkLogin scope return token script ... ... div data role content input type button value Login onclick doLogin input type button value Get data onclick getModerator input type button value Create onclick create div..

Facebook Login: How to combine JavaScript with PHP SDK?

http://stackoverflow.com/questions/6147631/facebook-login-how-to-combine-javascript-with-php-sdk

Login How to combine JavaScript with PHP SDK How do I go about combining examples from both https github.com facebook php sdk.. is incompatible with PHP based SDK so user in this case would still be null I am not a big fan of a href facebook getLoginUrl Login with Facebook a because it causes the browser to load a different page the facebook login and then redirects back.. with PHP based SDK so user in this case would still be null I am not a big fan of a href facebook getLoginUrl Login with Facebook a because it causes the browser to load a different page the facebook login and then redirects back to the..

ASP.NET Form Fields Not POSTing from colorbox

http://stackoverflow.com/questions/6424638/asp-net-form-fields-not-posting-from-colorbox

div HERE IS THE COLORBOX POPUP CONTENT div style display none visibility hidden div id inline_login p strong User Login Details Go Here strong p User Name asp TextBox ID loginName runat server ClientIDMode Static EnableViewState False ViewStateMode.. loginPassword runat server TextMode Password ClientIDMode Static br input type button name loginBtn id loginbtn value Login onclick javascript validateLogin div div asp Panel asp Label ID xmlContent runat server ContentTemplate asp UpdatePanel.. Password ClientIDMode Static br input type button name loginBtn id loginbtn value Login onclick javascript validateLogin div div asp Panel asp Label ID xmlContent runat server ContentTemplate asp UpdatePanel asp Content The new product field..

How to completley disable any MOUSE CLICK

http://stackoverflow.com/questions/8595909/how-to-completley-disable-any-mouse-click

id doc I want to add that code to loading.js HTML html ... body div id doc div id content ... input type button value Login id login ... div id content div id doc body html loading.js function load_bar x if x 0 document.body .css cursor default..

shadowbox stops working after jquery function call

http://stackoverflow.com/questions/9144577/shadowbox-stops-working-after-jquery-function-call

a id menu tour href tour.html rel http jfcoder.com test tourcontent.html Tour a li li a id menulogin href login.html Login a li ul div Here you'll notice I have a relative url in the HREF attribute and a link to some pages on my server. The reason..

How to capture enter key being pressed on pages containing multiple forms?

http://stackoverflow.com/questions/764427/how-to-capture-enter-key-being-pressed-on-pages-containing-multiple-forms

of the pages included for illustration opening and closing angle brackets omitted deliberately input type button value LOGIN name btnLoginOk onclick submit input type button class button click grey value Find Link Partners onclick raiseEvent 'SubmitForm'.. to be able to allow users to press return if they wish e.g. if they've just typed into a field associated with the LOGIN then detect that and action the onclick submit Perhaps there is a solution with jQuery. javascript jquery user input return.. from it what element it came from and therefore which form it belongs to. Even in this case input type button value LOGIN name btnLoginOk onclick submit Here submit is a global function but when it is called its context this will be the element..

Phonegap / jquery mobile slide transition not workign properly on first call

http://stackoverflow.com/questions/8095889/phonegap-jquery-mobile-slide-transition-not-workign-properly-on-first-call

#settings onclick showsettings div id header_settings div a div id header_bottom div div div id slide_mask START of LOGIN page div data role page id login div id home_frame div id home_logo div div id home_fblogin onclick login div div.. name user email size 30 p p Password input type password name user password size 30 p button onclick show_page_home LOGIN button div div div END of LOGIN page START of LOGIN page div data role page id dives class right_pane p My dives.. input type password name user password size 30 p button onclick show_page_home LOGIN button div div div END of LOGIN page START of LOGIN page div data role page id dives class right_pane p My dives p div content div data role page..