2009年3月8日
摘要: jQuery.cookie = function(name, value, options) { if (typeof value != 'undefined') { // name and value given, set cookie options = options || {}; if (value === null) { value... 阅读全文
posted @ 2009-03-08 18:04 啊啦星 阅读(305) 评论(0) 推荐(0)
摘要: jQuery.queryString = function(query) { var search = window.location.search + ''; if (search.charAt(0) != '?') { return undefined; } else { search = search.replace('?', '').sp... 阅读全文
posted @ 2009-03-08 18:03 啊啦星 阅读(181) 评论(0) 推荐(0)
摘要: $(function() { bindCheck(); $('form').submit(function() { return $('.jev-n').size() == 0; }); $(":text").blur(); }) function bindCheck() { $('.jev-reqf').blur(function() { ... 阅读全文
posted @ 2009-03-08 18:00 啊啦星 阅读(179) 评论(0) 推荐(0)
摘要: jQuery.postJSON = function(data, url, success) { return jQuery.ajax({ type: "POST", url: url, data: data, contentType: "application/json; charset=utf-8", dataType... 阅读全文
posted @ 2009-03-08 17:56 啊啦星 阅读(1935) 评论(0) 推荐(0)