jquery - Accessing different page controls using JavaScript -
How can I use different page controls using
javascript ? For example, I have two pages: Page1.htm and Page2.htm .
I write in my javascript code Page1.htm and I need to access a text box or any other control which is Page2.htm .
like it,
$ (function () {$ .get ('page2.html', function (html) {console.log ($ (html). Find ('textarea'));});});
Comments
Post a Comment