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

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -