javascript - IE permission denied -
i getting permission denied error on ie (firefox works fine)
i making ajax call (local domain) , result of call assigning div. on debugging came know there no issue ajax call , variable 'result' has result data. error thrown when data being assigned div.
error line: 2 jquery-1.8.1.min.js error: permission denied
javascript code:
$.get('administration.htm', function (result) { $('#admindiv').find('#content').html(result); });
any idea why error coming.
the permission denied error coming trying manipulate dom before document ready.
as events , formatting no longer working, using javascript , jquery select things can cause issues. when use document.getelementbyid
update dom , rendered page not update associated jquery objects. solve either need re-generate jquery object (using $('selector')
) , reattach handlers or try $(document.getelementbyid('objectid')).html('result');
use javascript find dom element avoid permission error modify using associated jquery object.
Comments
Post a Comment