Ajaxpro was used all the time. Now I want to see what is at the bottom of Ajax. Use prototype. js to write Ajax. Hard to understand for two days
Today, I finally realized it. That's all.
Script Type = "text/JavaScript" src = "../JS/prototype. js">
Ajax Definition
Ajax is not a technology. It is actually several technologies, each of which has its own unique characteristics. Together, Ajax becomes a powerful new technology. Ajax includes:
XHTML and CSS
Use Document Object Model for
Doctype HTML public "-// W3C // dtd html 4.01 transitional // en" > Html > Head > Title > Ajax.html Title > Meta HTTP-equiv = "Keywords" Content = "Keyword1, keyword2, keyword3" > Meta HTTP-equiv = "Description" Content
First, htmlCode:
JS Code:
VaR comparecontent = "the value you want to change ";
If (comparecontent! = ""){Document. getelementbyid ("compareiframe"). src = "ajax/changesession. aspx? Compareinfo = "+ comparecontent;
}
Ajax:
The updatepanelanimationextender control is used to create an animation when updatepanel is updated.
Here is an example:1) Create an ASP. NET Ajax-enabled web project in vs2005 and name it updatepanelanimationextender1.
2) drag and drop an
The togglebuttonextender control is used to extend the checkbox control and display it graphically. You can select either or not. Here is an example:1) Create an ASP. NET Ajax-enabled web project in vs2005 and name it togglebuttonextender1. 2)
The autocompleteextender control is used to populate the textbox with prompts. Like Google suggest. Here is a small example.
Example: Enter characters in the text box. Some optional lists are randomly displayed in the text box.
1) Create an
Textboxwatermarkextender is used to add watermarks to textbox. See an example below:1) Create an ASP. NET Ajax-enabeld web project in vs2005 and name it textboxwatermarkextender1. 2) Add two textbox in default. aspx for firstname and lastname
The modalpopupextender control is used to set the text style on the webpage. The following is an example: 1) Create an ASP. NET Ajax-enabeld web project in vs2005 and name it modalpopupextender1. 2) Add a text section to the label of default.
Maskededitextender is used to specify and modify the content in the text box, so that the user input format can meet the needs directly.Maskededitvalidator is used to verify the value entered in the text box to meet the requirements. The following
The listsearchextender control is used to quickly search and locate the content in the list. Applicable to the ListBox and dropdownlist controls. See the example below:1) Create an ASP. NET Ajax-enabled web project in vs2005 and name it
The sliderextender control is used to extend the ASP: Textbox Control to realize the effect of changing the value on the scroll bar. The following is an example:1) Create an ASP. NET Ajax-enabeld web project in vs2005 and name it sliderextender1.
ASP. NET has been in contact for nearly a month. Although there are countless problems encountered during the learning process, I finally checked the informationProgramSolved, and the tasks handed over by the boss were also completed quite well. At
This control can be added to most ASP. NET Server controls to provide them with a drop-down menu. This drop-down menu is another control.
Here is an example:
1) Create an ASP. NET Ajax-enabled web project in Vs and name it dropdownextender1.
XMLIs an ubiquitous data format in modern computers. Ajax applications are in the Web browser environment, especially the XMLHTTPRequest object, which provides good local support for processing XML. If xzmlhttprequest receives an XML content type,
This control is used to remind the user whether to perform this operation after clicking the button in the browser of the client. If "yes" is clicked ", execute the event processing function of the button. If you click "no", cancel the operation.
The pagingbulletedlistextender control is used to extend the bulletedlist server control so that it can be sorted.
The following is an example:1) Create an ASP. NET Ajax-enabled web project in vs2005 and name it pagingbulletedlistextender1.
2) Add
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