Saturday, March 24, 2012

Working with jQuery

Challenge:
Develop a script which will change the background color of a link, if:
1) The link is not valid (404, 500)
2) The link has timed-out
3) The link is valid 

Break-Down:
Couple of items need to be done to solve this:
1) Asynchronous lookup of the links in the document
2) Compatibility with Legacy browsers
3) Effective DOM lookup

Solution:

No comments:

Post a Comment