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.
Source: The Developing Coder
Leave a Reply