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.
javascript jquery html
Abs 26 Oct '09 at 11:34 2009-10-26 11:34
source share