JQuery Toggle Ignore Double Click

Just replace $(“.header”) with your selector.

function toggle() {
$(“.header”).unbind(“click”);

var next = $(this).next();
if (next.css(“display”) != “none”)
next.hide(“slow”, bind);
else
next.show(“slow”, bind);
}

function bind() {
$(“.header”).click(toggle);
}

bind();

Posting a form as a JSON (JQuery)

After hours of searching… Here is a dirty solution I found.
1. Add this function to the prototype.
$.fn.serializeObject = function()
{
var o = {};
var a = this.serializeArray();

$.each(a, function() {
if (o[this.name]) {
if (!o[this.name].push) {
o[this.name] = [o[this.name]];
}
o[this.name].push(this.value || ”);
} else {
o[this.name] = this.value || ”;
}
});
return o;
};

Then use this conversion when posting.

JSON.stringify($(“form”).serializeObject())

JSON.stringify comes from json2.js. You can get [...]

Multi Factor Security Review

Introduction
One of the newer terms coined in today’s business world is “multi factor” security. With all of the new security threats appearing daily, having the ability to authenticate a user of a networked system is essential to the success of any business. With multi factor security we can close the gap of doubt when determining [...]

Hello to the World!

Just figured I would say hi to the world. I haven’t posted in a while and a friend of mine is always saying that they get way more hits than me. Oh well, I guess I will have to be second best