会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
回头再说 坚强2002的博客
在每个新的一年三百六十五天 我们都每天进步一点点......
博客园
首页
联系
订阅
管理
Prototype实战教程----3.$F
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
<
html
>
<
head
>
<
title
>
$F
</
title
>
<
script
type
="text/javascript"
language
="javascript"
src
="prototype.js"
></
script
>
<
script
type
="text/javascript"
language
="javascript"
>
function
test()
{
alert($F(
"
userName
"
));
}
</
script
>
</
head
>
<
body
>
<
form
>
<
input
type
="text"
id
="userName"
value
="test username"
>
<
input
type
="button"
value
="click"
onclick
="test()"
>
</
form
>
</
html
>
Share
|
发表于
2007-04-23 12:41
坚强2002
阅读(
1400
) 评论(
0
)
收藏
举报
刷新页面
返回顶部
公告
我,技术人,身体变胖,头脑依然灵活,喜欢Erlang .net,非著名技术博客,翻译过大师经典文章,也原创了不少.在技术之路上沉思,不断重构着不太优秀的自己.爱生活,爱Erlang!