I'm having a problem with IE8 and my function. My function works fine in other browsers, but as usual IE8 is being a pain. Some boxes will be filled in while others won't be. I have checked my hash to make sure there was a value there, and the value is defined. IE8 is just choosing not to fill in some inputs. Any idea what the problem might be?
var fillTemplate = function(jsonResponse) {
periods = jsonResponse['#input_periods'];
generatePeriodInput();
var $this = $(this);
$.each(jsonResponse, function(key, value) {
$(key).val(value);
});
}
Solved. Thanks to adam_bear I was able to solve this problem. I had to rename some of my ids.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.