Tag Archives: JavaScript

jQuery: Nice and smooth hover effect

Needed to add a hover effect on some table rows and wanted to make it look nice. Think I managed to get it quite smooth in the end and thought I could share it. 12345678910111213141516171819202122232425262728293031// In the document ready event … Continue reading

Posted in Software Development | Tagged , , , , , | Leave a comment

JavaScript: Uppercase first letter in a string

In PHP there is a very handy function called ucfirst which Returns a string with the first character of str capitalized, if that character is alphabetic. Needed that in JavaScript, but discovered there was no such thing.

Posted in Software Development | Tagged , , | Leave a comment

PHP: How to easily provide JSON and JSONP

Have some server-side data that you would like to grab through an AJAX call? For example by using the jQuery.ajax method? A really easy way of doing this is by using the JSON format.

Posted in Software Development | Tagged , , , , | 3 Comments