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

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -