There's no known quirk about chrome (the change event is supported across all browsers) Example with live showing it working against dynamic content You can even test it here: quirksmode.org/dom/events/tests/change.html There is a piece of information or an assumption being made here that makes this unsolvable UPDATE : If it works when you change it to blur, it is possible that you are overwriting the previous event or function. By changing it to blur, whatever is overwriting it no longer will because it is a a different event This would also explain why you are not seeing any errors. (keep in mind, I believe that jQuery will chain events bound to the same elements, but live() is a bit of a special case - but that fact might point to it being the function, not the event binding).
There's no known quirk about chrome. (the change event is supported across all browsers) Example with live showing it working against dynamic content. You can even test it here: quirksmode.org/dom/events/tests/change.html There is a piece of information or an assumption being made here that makes this unsolvable.
UPDATE: If it works when you change it to blur, it is possible that you are overwriting the previous event or function. By changing it to blur, whatever is overwriting it no longer will because it is a a different event. This would also explain why you are not seeing any errors.(keep in mind, I believe that jQuery will chain events bound to the same elements, but live() is a bit of a special case - but that fact might point to it being the function, not the event binding).
Try using .delegate() instead api.jquery.com/delegate/ I've tried you code in both FF and Chrome - jsfiddle.net/B3aRy/ - It worked in both. So maybe its an issue elsewhere in your code?
I've tried both .delegate() and .change() but neither one gave me a different result. – Hamman359 Jun 15 at 18:12 See my updated answer above. – Alex Thomas Jun 15 at 18:17 I wouldn't be entirely surprised if it was caused by an issue elsewhere since this is a pretty complicated UI.
But if that were the case, I'd expect it not to work in at least one of the other browsers. I'm not getting any errors from the Chrome developer tools and I ran the javascript through JSLint and didn't see anything I didn't expect. – Hamman359 Jun 15 at 18:43.
I can't see the issue myself, but . Live does not support the "change" event until jquery 1.4.
We're currently using jQuery 1.4.4 – Hamman359 Jun 15 at 18:23 This is an interesting question. I would try a later version of jQuery just for the heck of it. – altCognito Jun 15 at 18:58 1 Updated to jQuery 1.6.1 and the problem still exists.
– Hamman359 Jun 15 at 19:36.
Try: function RegisterHoursValidationHandlers() { $(". Topic-frame-body inputtype='text'"). Live('change', function () { //Do some stuff here }); } With the quotes around 'text' as I have it.
Worth a shot. Or try: $(". Topic-frame-body input:text").live(); The point being, I think the problem is in the details of how you're targeting the input field, rather than in the method.
I tried both of your suggestions, but without luck. Also, thinking that it might be an issue with the field selector, I added a class to the input fields in question and targeted that class directly, ie. $('.
Foobar'), but that didn't work either. – Hamman359 Jun 15 at 18:34 Try this:$(". Topic-frame-body > inputtype='text'") and the other way too, but using the parent child selector?
I really think its in the targeting of the input. – Steph Rose Jun 15 at 18:40 Either that, or if you have js code above this function, post that for us too. Do you use web developer toolbar in chrome?
Go to the script tab and see if you are getting any js errors. – Steph Rose Jun 15 at 18:41 There is additional js code on the page and I am using the developer tools, but they aren't showing any errors. I also executed the selector $('.
Topic-frame-body inputtype=text') in the console window and it returned a list with all of the elements I expected to see. – Hamman359 Jun 15 at 18:51.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.