Starting from two pages in the same domain open in different tabs or 
browser windows.

Starting from two pages in the same domain open in different tabs or 
browser windows.


Can I access functions on one page from the other. 
That is, pass parameters to the functions of a page from the other and 
execute them? How could this be done ?. 


I do not need the execution of those functions to return results to the 
other page, just execution.


My first idea to do this is to use the localstorage object of HTML5 knowing 
that events can be executed in an open page  when changing the value of any 
variable of the localstorage by other page under the same domain. 
The page that hears these changes in localstorage can execute events and 
use the new values ​​assigned to the variable which would be equivalent to 
executing functions with params.


Is there any other way to do this?
Have functions within a page that can be executed from another page?

Thanks in advance


-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to