Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I see this video when the minute 1:49 the user click a button of the color of iframe 2 and change the iframe 1
https://www.youtube.com/watch?v=4nSjykKMi8g
what type of technique could i use for get this
please help me
The frames can't communicate directly but you can communicate via a server you control. This server can be on any domain.
You can push events using AJAX and receive events using server-sent-events. Make sure you're dealing with the cross domain requests appropriately by implementing CORS on the server.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
What is meant by Browser-API in react js? Broswer API in useEffect Hooks?
This means the Browser Javascript API, meaning any Javascript methods that interact with the browser, like finding elements on the page, fetching data, setting cookies etc.
Please see here for more info.
I assume you are talking about this page?
// Update the document title using the browser API
document.title = `You clicked ${count} times`;
They're not implying you have to use the browser APIs, just that in this example they are to set the page title.
Hope that makes it a bit more clear
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
What I'm ultimately trying to accomplish: Making a site that allows you to browse through videos and add/remove them from an AJAX-controlled playlist. So far, my website has only been created through Brackets using local web files, and I'm curious how much I'll need to change my work environment if I want to begin using AJAX with my website. I've never used AJAX before, if that isn't obvious....
You have to use a local server like WAMP (http://www.wampserver.com/en/), MAMP(https://www.mamp.info/en/), or LAMP
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm creating two codes that works with the same page with two AJAX load in each code. Question is, I did both scripts separated and now I'm asking myself it this will make the browser will load twice the same page or it's smart and it will load the page once.
Thanks.
Of course. Calling $.get twice issues two AJAX requests. However the browser may get the response from a local cache depending on the server side (i.e. caching strategy set in HTTP headers). Assuming that that's what you are concerned about. But success handlers will still fire for each request.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
This webpage http://cml.kg/test.php refreshes 10som.kg.
1. How does test.php embed 10som.kg even though 10som.kg
uses x-frame-options : SAMEORIGIN?
Doesn't it mean that you can't embed it on any other website? How did test.php bypass this restriction?
2. Test.php doesn't only refresh the embedded page, but also clicks the button on it until the URL changes. How?
Thanks in advance!
For your question 1. 10som.kg probably has CORS enabled in the server.
http://en.wikipedia.org/wiki/Cross-origin_resource_sharing
If that's true, this allows other domains to make ajax request to it.
Hope this helps. Cheers
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am making an open-source addon for firefox and chrome called and I am wondering if there is a way to control an email service like yahoo using javascript?
You can control the look of the page and probably (although I cannot be sure) send and edit messages without having to use the on-page buttons, but you cannot do server-side stuff such as logging into an account from a page without a log-in on it or sending a message from a page other than the email sending page. If you have any specific questions about controlling one specific thing, please add them in the comments, and I may answer them.