Entries Tagged as 'Javascript'

jQuery - 25 Excellent jQuery Tips

Javascript , jQuery No Comments »

Jon Hobbs-Smith of tvi-web design recently posted a great article on his 25 top tips for jQuery.

Even though they might not all apply - there are some great little tips that we can apply to existing applications.

You can read the article here: 25 Excellent jQuery Tips

Bookmark and Share

Javascript daysInMonth()

Javascript No Comments »

I came across a handy function today for getting the number of days in a month using javascript.

function daysInMonth(iMonth, iYear)
{
	return 32 - new Date(iYear, iMonth, 32).getDate();
}

How does this function work? It's quite simple.

When the Date() function is given a day number that is greater than the number of days in the given month of the given year, it wraps the date into the next month.

The getDate() function returns the day of the month, starting from the beginning of the month that the date is in. So, day 32 of March is considered to be day 1 of April. Subtracting 1 from 32 gives the correct number of days in March!!

Found at (Credit to): http://snippets.dzone.com/posts/show/2099

 

Bookmark and Share

New ColdFusion Debugger

ColdFusion , Javascript , Testing , Website Optimization No Comments »

Well, not so new, but version 1.0 of Coldfire has just been released.

It plugs into the Firebug Firefox extension and works a treat.

If you write any sort of complex Javascript, you really need Firebug. It allows step-through debugging and variable watching etc. Coldfire plugs into it and displays all the usual debugging information in a much better format.

It also allows you to watch ColdFusion variables as the request is executed.

More information and Download

Bookmark and Share

Another Javascript UI Library

Javascript No Comments »

I Just read on a blog that jQuery has released it's own javaScript UI library.

Check it out here http://ui.jquery.com/.

It pretty much covers all the items the other libraries cover, but it has some nice demo's to show off what it can do.

Bookmark and Share

Aptana Eclipse Plugin

IDEs , Javascript No Comments »

The Aptana IDE is a free, open-source, cross-platform, JavaScript-focused development environment for building Ajax applications.

It features code assist on JavaScript, HTML, and CSS languages, FTP/SFTP support and a JavaScript debugger to troubleshoot your code. For Javascript and CSS development, I have yet to find a better and more user-friendly IDE.

It's free! Read more and download Aptana

Bookmark and Share
Powered by Mango Blog. Design and Icons by N.Design Studio
RSS Feeds