link to another .html file via javascript -


is possible retrieve div id file via javascript 1 file.

example:

lets editing index.html , want retrieve id, using getelemntbyid page2.html.

i understand can use document.getelementbyid; if want id same document, there can use document?

thanks in advance

you have make ajax call page2 first.

paste response of xmlhttpobject in invisible div.

then required div want retrieve.


Comments

Popular posts from this blog

c# - BasicHttpBinding equivalent CustomBinding using WCF Client and PHP WebService -

android - Cannot use ndk-build on Cygwin -

sql server - python to mssql encoding problem -