Ajax instance: Get site File Content

Source: Internet
Author: User

This article is excerpted from: Ajax instance: Getting site File Content

 

A simple Ajax example: if you select a book, the relevant name will be obtained in real time through Ajax.

Put four html files under the same file on the web site.

Index.html

<Html> 

Xyj.html

<Select> <option> Tang Miao </option> <option> Sun Wukong </option> <option> </option> <option> Tang Miao </option> <option> Miss Guanyin </option> <option> westday Ruilai </option> </select>

Hlm.html

<Select> <option> Jia Baoyu </option> <option> Lin Daiyu </option> <option> Xue Baochai </option> </select>

Shz.html

<Select> <option> Lin Chong </option> <option> Li Yun </option> <option> Song Jiang </option> <option> time migration </option> </select>

Sgyy.html

<Select> <option> Liu Bei </option> <option> Guan Yu </option> <option> Zhang Fei </option> <option> CAO Cao </option> <option> Xiao Qiao </option> <option> Zhuge Liang </option> </select>
 
 
This article is excerpted from: Ajax instance: Getting site File Content

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.