jquery - Talking between different javascript windows? -
i have asp.net web page contains javascript code , iframe element views different web page , question : there available ways create these 2 windows communicate each other ?
for eaxmple : have function called "say helloworld" in asp.net javascript code should invoked iframe if button in iframe page clicked
generally speaking, makes huge difference if dealing windows access same domain/port/protocol combination or not. in other words, same origin policy bother in way. regardless of sop, should read this: html5 postmessage
if strictly dealing on same domain, don't need magic postmessage, of course of study wouldn't wound much either.
javascript jquery asp.net iframe
No comments:
Post a Comment