Blog Archives for category javascript

jQuey ajax 笔记

浏览器端 <script type=”text/javascript”> $(‘#submit’).click(function(){ $email = $(‘#retake_psd_email’).val(); $url = “http://jsb.php-php.com/user/get_user_id?email=”+$email+”&jsoncallback=?”; $.getJSON( $url, function(data){ if ( data.error == 1 ) alert_error(… Continue reading »