JavaScript cookies
Sometimes it is useful to employ javascript cookies for certain functionality. An example:
I want to have a DIV element which displays some information and which can be closed by the user (employing the toggle() or show() / hide() functions of jQuery). If the user has closed this box, I don’t want it to reappear for [...]
Using jQuery for every day tasks
A colleague asked me how to create a small folding box in javascript the other day. With JS alone, this task is really tedious so I gave him a quick heads up on how to accomplish that in a mere second with jQuery.
Let’s say we have a DIV in our HTML that has the id [...]
