Jquery

interesting jQuery alternative – laroux.js

interesting jQuery alternative – laroux.js

If we are talking about jQuery alternatives there is not much on the market. With age jQuery put a little bit on weight, not mentioning it’s speed. If we are talking about weight and speed we have Zepto.js and… we can use pure JavaScript which isn’t especially convenient in larger  projects. But definitely it’s much more but… it’s faster.

Serialize form to object – jQuery

Serialize form to object – jQuery

It’s pretty easy to serialise form using jQuery –

$('#formid').serialize();

or by

$('#formid').serializeArray();

But neither of them it’s easy to modify. Really useful snippet – serialise form to object.