Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to write Ajax and Asp

2026-02-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article focuses on "how to write Ajax and Asp", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to write Ajax and Asp.

Ajax.html

The code is as follows:

Function f () {

Var req = new ActiveXObject ("Microsoft.XMLHTTP")

Req.open ("GET", "t.asproomt1 =" + t1.value, true)

Req.onreadystatechange = function () {

If (req.readyState = = 4) {

If (req.status = = 200) {

Msg.innerText = req.responseXML.documentElement.tagName

}

}

}

Req.send (null)

}

1: display "OK"; other characters: display "Error"

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

  • What is the basic syntax of HTML

    This article mainly introduces what is the basic grammar of HTML. It is very detailed and has certain reference value. Friends who are interested must finish reading it.

    12
    Report