Tackling Strange Issues

One of the challenges I face daily as a developer is dealing with strange issues introduced by a mixture of old and new code. When faced with one of these challenges I head over to Stack Overflow and attempt to see if anyone else has had the same problem. If not, I post a question and await the answer while trying to tackle my problem.

While many see these issues as time-consuming I view them as learning opportunities. I find myself doing research and in doing so I learn about things I never knew previously. I usually always find a solution to my problem. As such, these little quirks are not a bad thing at all.

I am currently having a strange issue with a change event not binding in JQuery for me. After some detective work it seems that the bind is being attempted before the object is truly part of the DOM. That’s a bad thing, so I will be trying putting the bind code inside of a $(document).ready() block. I will report back on how that goes.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s