Thomas Ummels is a freelance Javascript developer who created the web based Gantt chart tool www.tomsplanner.com. A Gantt chart application to create and share project schedules, project plannings and project timlines. Easier than MS Project and faster than Excel. No more messy Excel spreadsheets with tom'splanner Gantt chart templates. The Gantt chart software is almost entirely written in Javascript using the latest Front End technolgies including Jquery and ecluding Ext-js. Tom'splanner enables you to share your Gantt charts and project schedules online.

Freelance Front-End/Javascript | Creator of Gantt Chart Software Tom'splanner

Wednesday, May 7, 2008

a really old tric

I sometimes still use the javascript pseudo protocol in the adressbar of the browser. For instance when diagnosing a javascript related problem when working on a computer with no decent javascript debugger installed.

Until now I always used to put my javascript code inside an alert to avoid being redirected to a new page. But using alert makes it impossible to debug focus and blur events properly. So I searched for an alternative and found out that you can also use void() for this.

So instead of "javascript:alert(put your js code here)" you can do "javascript:void(put your js code here)"

I know it is javascript at it's simplest and it turns out to be standard practice when writing bookmarklets but I didn't know it and haven't seen anyone using it so I thought it was worth mentioning it.

0 Comments:

Post a Comment



<< Home


 
Thomas Ummels, freelancer and senior Javascript developer. Creator of the Gantt chart software www.tomsplanner.com. A Gantt chart tool that anables you to share project timelines and Gantt charts online. An alternative for Excel templates and/or MS Project. It is faster than Excel. Gantt chart templates enable you to create Project plans and schedules fast and easy. The Gantt chart tool is written in Javascript using the latest Front End technolgies including Jquery and ecluding Ext-js. Although Thomas Ummels has extensive experience using the Extjs framework. Tom'splanner enables you to share your Gant charts and project schedules online.