好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

JQuery学习参考

JQuery学习参考

今年准备给OEA支持B/S,所以学一下JQuery,如果你不是像我一个是一个新手的话,那么你可以直接略过本篇。

$('h1').html('hello world'); $('h1').css({ 'fontSize': '100px', 'color': 'red'}); // setting multiple properties $('h1').height('50px');  // sets the height of all H1 elements $('h1').height();        // gets the height of the first H1 $('a').attr({
   'title' : 'all titles are the same too!',
    'href' : 'somethingNew.html'
}); $('h1').next('p'); $('div:visible').parent(); $('input[name=first_name]').closest('form'); $('#myList').children(); $('li.selected').siblings(); $('#myList li:first').clone().appendTo('#myList'); var $myNewElement = $('<p>New element</p>');
$myNewElement.appendTo('#content'); $('h1').remove(); $('#myDiv').data('keyName', { foo : 'bar' });
$('#myDiv').data('keyName'); // { foo : 'bar' } $('p').click(function() {
   console.log('click');
}); $('p').bind('click', function() {
   console.log('click');
}); $('p').unbind('click'); $('h1').show(); $('h1').fadeOut('slow');  // using a built-in speed definition $('h1').fadeIn(300);      // fade in over 300ms

推荐:50个加强表单的jQuery插件

转载:The Essential List of JavaScript, jQuery, HTML & CSS Books to Make You a Better Web Developer

转载:50有用的JavaScript和jQuery技术和插件

转载:JQuery学习参考

jQuery - 列表控件推荐

推荐: 你可能需要的在线电子书  

我的新浪围脖:  http://t.sina测试数据.cn/openexpressapp

欢迎转载,转载请注明:转载自 周金根  [  http://zhoujg.cnblogs测试数据/  ]

作者: Leo_wl

    

出处: http://HdhCmsTestcnblogs测试数据/Leo_wl/

    

本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

版权信息

查看更多关于JQuery学习参考的详细内容...

  阅读:45次