Geeks With Blogs
Rotten Code it can always work better - but at least it should work

I ran into an AJAX problem this morning. I tried to make a callback using the same

code I’ve used dozens of times, but the callback wouldn’t execute, giving me a message that

 ‘WebForm_DoCallback’ had not been initialized. After pounding my keyboard for far too long,
I discovered that I had to place the javascript within <form> tags in order for it to work.

Just when you think you've done something so many times you can do it in your sleep,
you discover some minor detail that you should have already known.

Posted on Wednesday, May 2, 2007 11:03 AM | Back to top


Comments on this post: stupid AJAX, stupid FORM tags, stupid programmer

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Marcus Shockley | Powered by: GeeksWithBlogs.net