Recently, in the company's hbbtv project, we need to use a Chrome browser based on the WebKit kernel for local webpage testing, but found that $. load (). $. get () and other events are blocked by Chrome. It is quite troublesome to install the
After looking at Ajax, it looks a little excited indeed. It is a responsive web UI, partial refresh rather than overall refresh ......
But after reading it, I thought about it. Is this really what I need? Although Asynchronization can make the UI
Code
Data sent by Zend
Class testfunctioncontroller extends zend_controller_action {// put your code here public function indexaction () {echo 'test ';}}
Ajax var xmlHttp; function createXMLHttpRequest(){ if(window.ActiveXObject){ xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } else { xmlHttp = new XMLHttpRequest(); }
// ----------- Query the status Parameter Function of the modified parameter ---------------------------Function queuery_status (){// Var ADDR = $ ("# invaddr"). ATTR ("value ")VaR I;VaR ADDR = $ ("# invaddr"). Val ();Alert ("Get the value:" + ADDR )
The XMLHttpRequest handler is described in detail earlier.
Today, let's talk about jquery's support for Ajax. jquery encapsulates the underlying implementation of XMLHttpRequest and directly calls the provided method.
1. $. Ajax (options)
This
Ajax is mainly applied to JS. Ajax has no requirements for ASP. asp is only responsible for displaying and operating server data in the background.
Think like the following:
1. Write the first entry of the form (such as the user name)
2.
Recently encountered a problem: the page uses Ajax, not jquery, and uses Microsoft scriptmanager and updateprogress. How does one prohibit repeated submission during data return? That is, after you click the submit button, the button cannot be used.
Use jquery and the general handler to instantly verify that the student ID entered by the user is repeated. When the cursor leaves the input box, a prompt is displayed.
Student ID: Id = "txtnum" runat = "server"> Controltovalidate = "txtnum"
The calm sea is often surging below, Ajax Control Toolkit version 1.0.10606.0 version does not add controls, but there are a lot of internal changes, and I will work with the Ajax Control Toolkit version 1.0.10606.0 16 changes.
1. First, reduce the
Ajaxcontroltoolkit Control
Create a service WebService
WebService. CS
Using system; using system. web; using system. collections; using system. web. services; using system. web. services. protocols; using system. web. script. services; using system.
/* When there are Chinese parameters, the receiver needs to use the UTF-8 method to decode the data* Post attachments are not supported.*/
Function getxmlhttprequest (){VaR XMLHttpRequest = NULL;Try {XMLHttpRequest = new activexobject
The following is a rough record of the. NET video from instructor Yang zhongke (Chuanzhi podcast) and the Ajax chapter in the video publishing system of instructor Niu Yu,Beginner's understanding is limited, so the notes may be incorrect..
I. Use
SharePoint and Ajax technology (0): Ajax environment Installation
I am very excited by the MVP award. I am also very grateful to the 11 and kaneboy for their great help. I would like to express my heartfelt thanks to Mei Zhai for helping and
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service