|
|
|
|
|
by HNatWORK
5402 days ago
|
|
I believe Chrome shows the original source because when you View Source, it requests the page again. This complicates debugging Ajax requests (and also Get and Post requests). Firefox and IE show the "current" source, which is liable to be replaced as shown by dave1010uk. Type the following into the Chrome Dev Tools console, then the Firebug console: testBool = true;
document.write('');
typeof testBool;
Chrome shows boolean, firefox shows undefined. |
|