zoukankan
html css js c++ java
[收藏]HTML中的XML数据岛记录编辑与添加
<
HTML
>
<
HEAD
><
Title
>
HTML中的数据岛中的记录集
</
Title
></
HEAD
>
<
body
bkcolor
=#EEEEEE
text
=blue
bgcolor
="#00FFFF"
>
<
Table
align
=center
width
="100%"
><
TR
><
TD
align
="center"
>
<
h5
><
b
><
font
size
="4"
color
="#FF0000"
>
HTML中的XML数据岛记录编辑与添加
</
font
></
b
></
h5
>
</
TD
></
TR
></
Table
>
<
HR
>
酒店名称:
<
input
type
=text
datasrc
=#theXMLisland
DataFLD
=NAME
size
="76"
><
BR
>
地址:
<
input
type
=text
datasrc
=#theXMLisland
DataFLD
=Address
size
="76"
><
BR
>
主页:
<
input
type
=text
datasrc
=#theXMLisland
DataFLD
=HomePage
size
="76"
><
BR
>
电子邮件:
<
input
type
=text
datasrc
=#theXMLisland
DataFLD
=E-Mail
size
="76"
><
BR
>
电话:
<
input
type
=text
datasrc
=#theXMLisland
DataFLD
=TelePhone
size
="76"
><
BR
>
级别:
<
input
type
=text
datasrc
=#theXMLisland
DataFLD
=Grade
size
="76"
><
HR
>
<
input
id
="first"
TYPE
=button
value
="<< 第一条记录"
onclick
="theXMLisland.recordset.moveFirst()"
>
<
input
id
="prev"
TYPE
=button
value
="<上一条记录"
onclick
="theXMLisland.recordset.movePrevious()"
>
<
input
id
="next"
TYPE
=button
value
="下一条记录>"
onclick
="theXMLisland.recordset.moveNext()"
>
<
input
id
="last"
TYPE
=button
value
="最后一条记录>>"
onclick
="theXMLisland.recordset.moveLast()"
>
<
input
id
="Add"
TYPE
=button
value
="添加新记录"
onclick
="theXMLisland.recordset.addNew()"
>
<
XML
ID
="theXMLisland"
>
<
HotelList
>
<
Hotel
>
<
Name
>
四海大酒店
</
Name
>
<
Address
>
海魂路1号
</
Address
>
<
HomePage
>
www.sihaohotel.com.cn
</
HomePage
>
<
E-Mail
>
master@sihaohotel.com.cn
</
E-Mail
>
<
TelePhone
>
(0989)8888888
</
TelePhone
>
<
Grade
>
五星级
</
Grade
>
</
Hotel
>
<
Hotel
>
<
Name
>
五湖宾馆
</
Name
>
<
Address
>
东平路99号
</
Address
>
<
HomePage
>
www.wuhu.com.cn
</
HomePage
>
<
E-Mail
>
web@wuhu.com.cn
</
E-Mail
>
<
TelePhone
>
(0979)1111666
</
TelePhone
>
<
Grade
>
四星级
</
Grade
>
</
Hotel
>
<
Hotel
>
<
Name
>
“大沙漠”宾馆
</
Name
>
<
Address
>
留香路168号
</
Address
>
<
HomePage
>
www.dashamohotel.com.cn
</
HomePage
>
<
E-Mail
>
master@dashamohotel.com.cn
</
E-Mail
>
<
TelePhone
>
(0989)87878788
</
TelePhone
>
<
Grade
>
五星级
</
Grade
>
</
Hotel
>
<
Hotel
>
<
Name
>
“画眉鸟”大酒店
</
Name
>
<
Address
>
血海飘香路2号
</
Address
>
<
HomePage
>
www.throstlehotel.com.cn
</
HomePage
>
<
E-Mail
>
chuliuxiang@throstlehotel.com.cn
</
E-Mail
>
<
TelePhone
>
(099)9886666
</
TelePhone
>
<
Grade
>
五星级
</
Grade
>
</
Hotel
>
</
HotelList
>
</
XML
>
</
body
>
</
HTML
>
查看全文
相关阅读:
fedora中使用 mariadb数据库建库和建表-- mariadb数据库服务无法启动?
我在linux中使用的vundle 和 vimrc配置
vim的加密和解密?
gvim写html代码时如何快速地跳转到一个标签的结束位置: 终极插件: matchit.vim
HTML5+CSS3整体回顾
HTML5无刷新修改URL
使用ab对nginx进行压力测试
nginx php-fpm 输出php错误日志
如何正确配置Nginx+PHP
关于Nginx的一些优化(突破十万并发)
原文地址:https://www.cnblogs.com/goody9807/p/237716.html
最新文章
PyCharm笔记之搭建Python开发环境
PyCharm笔记之配色方案和取消波浪线
PyCharm笔记之首次安装和激活
C++进程间通信之共享内存
thinkphp留言板开发笔记 1
在fedora23中安装virtualbox, 然后实现虚拟机irtualbox 或者 vmware 下的xp操作系统
fedora安装了phpmyadmin后, mariadb无法启动?
YII框架的使用
frameset的使用
php的__autoload和php的__call
热门文章
什么是pear的channel?
如何使用thinkphp的model来验证前端表单?
php的pear编程: phpDocumentor的使用?
thinkphp如何省略index.php
javascript的执行过程, 语法错误和运行时错误?
php文档注释提取工具phpdocumentor的使用
thinkphp在前端页面的js代码中可以使用 U方法吗? 可以使用模板变量如__URL__等吗?
留言板小程序开发笔记-4
windows进程中的几个杂项-hpguard 进程终止
vim的几个插件mark.vim ctrlp.vim等
Copyright © 2011-2022 走看看