|
-
Dec 20th, 2010, 06:05 PM
#1
Thread Starter
Fanatic Member
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!
-
Dec 20th, 2010, 06:17 PM
#2
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.
-
Dec 20th, 2010, 06:42 PM
#3
Thread Starter
Fanatic Member
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.
-
Dec 20th, 2010, 06:50 PM
#4
Re: Webpage, InputBox, onKeyUp, AJAX
put an asterisk (*) on the end of the search term 
That got me a lot more.
-
Dec 20th, 2010, 06:58 PM
#5
Thread Starter
Fanatic Member
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.
-
Dec 30th, 2010, 02:50 PM
#6
Thread Starter
Fanatic Member
Re: Webpage, InputBox, onKeyUp, AJAX
Do you know the hoops I've to jump? Or some way to get me started on a workaround?
-
Dec 30th, 2010, 03:17 PM
#7
Re: Webpage, InputBox, onKeyUp, AJAX
I don't remember what problem we were facing. Care to refresh?
-
Jan 1st, 2011, 06:44 PM
#8
Thread Starter
Fanatic Member
Re: Webpage, InputBox, onKeyUp, AJAX
How to retrieve a table that was created using AJAX after a onKeyUp event was triggered.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|