随笔分类 - jQuery
摘要:$(document).ready(function(){ // Get Weather $('button').on('show.weather', function() { var results = $(this).closest('li').find('.results'); results
阅读全文
摘要:$.map function will return the modifies array. $.each function will not new a new array, the old value will still be the same. detach() funciton will
阅读全文
摘要:jQuery UI Dialog - Modal form All form fields are required. Name Email Password Existing Users: ...
阅读全文
摘要:有些时候当你写了一个很有用的功能,并且希望这个功能能够很方便的用到其他的项目中去,这时候你可以自己创建一个jQuery plugin.先看一行jQuery的代码:$( "a" ).css( "color", "red" );这是一个标准的jQuery的代码,方便,简洁,你知道如何使用,但是你知道他是...
阅读全文