html - JavaScript document.write not appearing in page source -


i have used document.write('test') in html page.

everything working intended curious know why output 'test' appears in browser not appear in "view page source".

so output of document.write() stored in browser memory?

yes.

when ask see source code, browser shows source code. doesn't show serialisation of current state of dom (which dom inspector for).


Comments

Popular posts from this blog

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -