Monthly Archives: November 2008
Splitting a long JavaScript String across multiple lines
Whilst reading a comment by Mike DeBoer on Ajaxian about delimiting JavaScript strings with backslashes, I thought it’s worth mentioning it here as well, if only to remind myself. String concatenation always creates a new string. Thus, writing: var str = … Continue reading
JavaScript cookies made easy
Here is another little script that makes my life a bit easier. It consists of 3 methods that makes working with cookies very straight forward. This script is built on the shoulder of giants: PPK from Quircksmode was the man … Continue reading