首页 相关文章 jQuery教程:jQuery的核心

jQuery教程:jQuery的核心

大家先不要看我的源代码,看看使用js是否能够做得出


要求:
1)页面上一个按钮;
2)点击后弹出窗口,我被点击了;


如下图:


JavaScript代码如下:!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
html xmlns="http://www.w3.org/1999/xhtml"
head
meta http-equiv="Content-Type" content="text/html; charset=utf-8" /
title实例1/title
script
function myClick()
{
alert("我被点击了!");
}
/script
/head
body
inp...[ 查看全文 ]

2016-02-20 标签:

jQuery教程:jQuery的核心的相关文章

手机页面
收藏网站 回到头部