jump to navigation

NOTE: The spam filter is being unusually aggressive. If you comment does not immediately appear, it has simply been placed in moderation and I will approve it as quickly as possible. Thank you for your patience.

"Murphy was an optimist!"

Thank you! April 14, 2009 7:26 am

Posted by Doug McCaughan in : Daily Life, Programming, Technology
, trackback

I banged my head against a wall last night until it bled. I woke at 3:30am this morning to pound on the wall some more. I consulted peers on IRC. I Googled. I Blingo‘d. Finally I began to type my situation here.

On one of my projects, I am using a modal dialog to present forms to the user. These forms submit the user input to the server via ajax and depending upon the return from the server either present an error message or perform and action then close. The staple of a good programmer is code reuse. In my case, I have written a module to pop up the dialog box and, based upon a variable passed into the module, populate the dialog box with the correct form.

I proceeded to type an abbreviated, generic version of the code segment that was giving me grief. And as I neared the end, I saw my typo! Problem resolved. Life can move on. Now that’s a good use of a blog!

Comments after advertisement


no comments yet - be the first?