Does JQueries Live work in IE8?

I use the jQuery fancy box - in this popup I have a form with several selection fields and when changing these slect fields should change in the span element. I have this to work (actually using the stackoverflow user), but the solution does not work in IE8 ... suprise ... suprise.

I make changes to the selection box, but the value does not change. I was wondering if anyone could give me any ideas why this might be so, just by looking at the following JS code. Live function now works in IE8? !!

JS Code:

$('select.htt, select.hst').live('change', function() { var channels = parseInt($('#fancy_div select.hst').val(), 10) * parseInt($('#fancy_div select.htt').val(), 10); $('#fancy_div span.yellow2').html(channels + 'Channels'); }); 

I inserted HTML here: http://www.copypastecode.com/13356/ - its a lot of HTML!

Thanks to everyone for the help or guidance why this does not work on IE. IE does not seem to register changes to select boxes.

+4
javascript jquery html
26 Oct '09 at 11:34
source share
3 answers

jQuery live works in IE8, but live handlers do not support the change event.

Possible event values: click, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, keydown, keypress, keyup

Currently not supported: blur, focus, mouseenter, mouseleave, change, submit

+8
Oct 26 '09 at 11:36
source share

live does not support change event. From the manual :

Possible event values: click, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, keydown, keypress, keyup
Currently not supported: blur, focus, mouseenter, mouseleave, change, send

+9
Oct 26 '09 at 11:36
source share

Live also does not support insertion. The handler therefore uses bind

-one
Apr 10 '13 at 9:28
source share