Different Behavior Depending on Page Location
I have Firefox26/Firebug1.12.6. I have two browser windows open.
In one window I am pulling a page from localhost. The other window, the page is from an intranet site, dev1.example.com. The pages are exactly the same and use jQuery1.7.2.
Yet, the localhost will not execute the submit() statement. The page from the intranet does.
- $('img.autosubmit').each(function(){
- console.log('Auto-submitting '+'this:'+$(this).attr('src')+' '+'parent-form:'+$(this).parents('form').attr('id'));
- $(this).parents('form').submit();
- });
I see the log entry in Firebug.
Would there be a jQuery reason why the page from localhost would not behave the same as from a domain URL?