Chinaunix首页 | 论坛 | 博客
  • 博客访问: 266637
  • 博文数量: 103
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 705
  • 用 户 组: 普通用户
  • 注册时间: 2013-05-02 16:15
文章分类

全部博文(103)

文章存档

2014年(8)

2013年(95)

我的朋友

发布时间:2013-12-29 10:10:05

//ajax/*$(function(){$('input').click(function(){    $("#box").load('test.html');//当点击按钮时,将test.html的内容加载到id为box的div中});});$(function(){    $('input').click(function(){        $("#box").load('test.html .url');//.........【阅读全文】

阅读(958) | 评论(0) | 转发(0)

发布时间:2013-12-29 10:08:27

//动画/*<div class="test">1</div><div class="test">2</div><div class="test">3</div><div class="test">4</div><input type="button" value="显示" class="show" /><input type="button" value="隐藏" class="hide"/><div id="box">    </div>#box{    width:100px; &.........【阅读全文】

阅读(877) | 评论(0) | 转发(0)

发布时间:2013-12-29 10:07:20

//事件对象/*$(function(){    $('input').click(function(e){        alert(e);    })});$(function(){    $('input').click(function(e){        //alert(e.type);//type属性    .........【阅读全文】

阅读(749) | 评论(0) | 转发(0)

发布时间:2013-12-29 10:05:58

/表单选择器$(function(){    //alert($('input').eq(1).val());    //alert($('input[name=pass]').val());    //alert($(':input[name=city]').size());    //alert($(':text').size());});//基础事件/*$(function(){    $('inp.........【阅读全文】

阅读(800) | 评论(0) | 转发(0)

发布时间:2013-12-29 10:04:46

/*DOM和CSS$(function(){    //alert($("#box").html());//.html()获取html内容“<strong>www</strong>”    //alert($("#box").text());//获取text内容  “www”    //$('#box').html('<em>cccccccccccc</em>');//替换html    //$('#box').text.........【阅读全文】

阅读(814) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册