Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
there is a wayto get the value from yahoo site in this url "http://finance.yahoo.com/q?s=mo&ql=1". i need only the value of "Next Earnings Date".
how to do that in ajax?
Since Cross-Domain-Requests are not allowed in Browsers, you can't do it with pure JavaScript. You can either use php with curl to fetch the page and parse it, or use a helper API.
I would recommend having a look at YQL (Yahoo Query Language). With this API you can fetch any page.
https://developer.yahoo.com/yql/console/
A jQuery plugin that makes use of this API is: https://github.com/padolsey-archive/jquery.fn/tree/master/cross-domain-ajax
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
Since a year and a half I am trying to figure out how some websites update their content in real time without AJAX method.
Please see this example website: https://pro.btcturk.com/en/basic/exchange/BTC_TRY
That website is changing many texts within content in different timing.
It means that when the server is updated with new values in the database then the website is listening to database changes and then reflecting/delivering inside content without ajax calls.
Can someone give an example how to achieve such functionality possibly using Javascript or PHP normal hand-code appreciated?
Thank you
You can see the process here:
More information here: Websockets
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 to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am using a projection mapping programme, with part of the project taking text from a local text file, and inserting it into the programme.
Instead of manually filling this text file with pre-populated content, is it possible to use the Twitter API to feed in tweets to this local text file?
I'm not very familiar using javascript to access twitter's API, but you should be able to achieve that using twit.
Depending on the number of data you're wanting to obtain, the streaming API will be a better option. This will give you a large number of data with less likelihood of reaching a limit.
If you have more question regarding that specific package, you should give it a try (plenty of examples available) and post specific questions with proper tags (i.e. javascript, twit)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
If you can include Javascript so it automatically updates that would be awesome. I want it to gather the amount of space that is being used in directory /wy/ and display on the index.php file and automatically update whenever a file is added to file directory /wy/.
You cant achive this only with javascript as your tag implies. you may need to use any file APIs available. Better ways is to have a Server implementation for this and get the memory details from server using Ajax or any client-server communication techniques.
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.