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-12 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

  • Example Analysis of v-for Loop object in vue

    This article will explain in detail the example analysis of v-for loop objects in vue. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article. 1. The value in the loop object

    12
    Report