سایر منابع:
سایر خبرها
...; } }); } else { $("#txtmessage").css({ "border-color": "red" }); } }); }); (function ($) { $.fn.extend({ limiter: function (limit, elem) { $(this).on("keyup focus", function () { setCount(this, elem); }); function setCount(src, elem) { var chars = src.value.length; if (chars limit) { src.value = src.value.substr(0, limit); chars = limit; } elem.html(limit - chars); } setCount($(this)[0], elem); } }); })(jQuery); ...
) { "function" === typeof a && (a = { callback: a }); a = d.extend({ direction: "left", distance: 20, times: 3, speed: 140, easing: "swing" }, a); return this.each(function () { var b = d(this), k = { position: b.css("position"), top: b.css("top"), bottom: b.css("bottom"), left: b.css("left"), right: b.css("right") }; b.css("position", "relative"); var == a.direction || "down" == a.direction ? "top ...
شنبه 28 بهمن 1396 - 23:08 این خبر را با دوستان به اشتراک بگذارید "); else { //console.log(data[i].id); $('.comment_box').attr('data-id',data[i].id); id_comment = data[i].id; } }); } }); (function (d) { d.fn.shake = function (a) { "function" === typeof a && (a = { callback: a }); a = d.extend({ direction: "left", distance: 20, times: 3, speed: 140, easing: "swing" }, a ...