jQuery and IE 8
jQuery and IE 8
This code works in FF and Chrome but doesn't work in IE 8. Any ideas?
- $(document).ready( function() {
$.ajax({
type: 'GET',
url: 'index.php?module=hi_Products&action=getProductLines',
success: function(o) {
var options = '';
var j = eval(o);
for (var i = 0; i < j.length; i++) {
options += '<option value="' + j[i].optionValue + '">' + j[i].optionDisplay + '</option>';
}
$("#product_line").html(options);
}
});
- });