I hear HTML5 has window.postMessage(), but it seems to require having a handle on the window (or tab, throughout this question) you're posting the message to. What if I want to broadcast to all open windows? Is this possible?
(What I'm trying to do is warn other windows without any server round-trips when a user does something in one ...
I'm trying to use the Facebook Connect Javascript API. I have a Facebook login button on subdomain.example.com/foo/bar/baz/article.html. Clicking on the button opens a login page on Facebook's domain. After you log in, that child window goes to subdomain.example.com/foo/xd_receiver.html, which is a file that Facebook provides that just h...
This is driving me crazy!
Scenario:
The main page opens a pop-up window and later calls a function in it:
newWin = window.open(someurl,'newWin',options);
...some code later...
newWin.remoteFunction(options);
and it's ok.
Now, popup is still open and Main Page changes to Page 2. In Page 2 newWin doesn't exist anymore and I need t...
Hi,
I hace this very simple javascript to write on a text area when the link is clicked:
<head>
<script language="javascript" type="text/javascript">
function addtext(text) {document.form.textarea.value = document.form.textarea.value+= text;}
</script>
</head>
<body>
<form action="" method="" name="form">
<textarea name="te...