Webpage, InputBox, onKeyUp, AJAX
Hi!
I want to extract some information from a web site (Bloomberg). This side has a search textbox with a onKeyUp event that, as far as I can understand, uses AJAX to create a table.
Is it possible to insert some text in the textbox and then get the table created with AJAX? I know the former is possible, but the later I can't find a solution.
PS: Given the source code of the page with the tabled already AJAXed (If you understand what I want to say here), I can easly retrieve the table. I just need to get the source code with the table already on it.
Thanks a lot!
Re: Webpage, InputBox, onKeyUp, AJAX
Not without jumping through a lot of hoops.
You could try this page: http://www.bloomberg.com/apps/data?p...tateofidleness
which appears to produce the exact same results that would appear in the Ajaxed table. You could parse that much easier I would think, and as an added bonus, it's easy to specify the search criteria by manipulating the URL string as opposed to parsing the HTML for the input box.
Re: Webpage, InputBox, onKeyUp, AJAX
Thats what I already did. But that "search" is not complete. Try to search "berk" there and in the search textbox. The results will be different: with the textbox you will have five results whereas with that search you will only have one result.
Re: Webpage, InputBox, onKeyUp, AJAX
put an asterisk (*) on the end of the search term :)
That got me a lot more.
Re: Webpage, InputBox, onKeyUp, AJAX
Now it gets me a lot of unwanted results.
If I cant find another solution, I'll stick with this.
Re: Webpage, InputBox, onKeyUp, AJAX
Do you know the hoops I've to jump? Or some way to get me started on a workaround?
Re: Webpage, InputBox, onKeyUp, AJAX
I don't remember what problem we were facing. Care to refresh?
Re: Webpage, InputBox, onKeyUp, AJAX
How to retrieve a table that was created using AJAX after a onKeyUp event was triggered.