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

c# - The item with identity 'Id' already exists in the metadata collection. Parameter name: item -

jquery - How to make a wrapper function in javascript? -

sql - PostgreSQL automatically update row at specific date -