contact  |  about  |  sitemap

Proper "Next" Link
Last Post 23 Feb 2010 08:52 AM by Tijn. 1 Replies.
Sort:
PrevPrev NextNext
Author Messages
John

--
22 Feb 2010 09:07 PM
my click element (Next >) works on the first page but not on any other pages even after a refresh... TAG: A, Name: Title, Value: Next >

does the onclick in this html signify a javascript function to loop through the next pages? how would i structure it if so...


<A title="Next >" onclick="link('page=5&srcpages=4,0,0&sort=insertDate&order=desc','searchresults');return false;;return false;" href="http://my.safaribooksonline.com/browse?page=5&srcpages=4,0,0&sort=insertDate&order=desc">Next ></A><
Tijn

--
23 Feb 2010 08:52 AM
You could use the click element in a simple loop or execute the javascript in a simple loop.

1 Get Web Page with url www.mypage.com in source [WebPage1] as DOM Source
2 Loop
3 Click Element in [WebPage1], click on a A Tag with Attribute named title containing value Next >.
4 If Condition Is Not Empty [ErrorMessage]
5 Exit Loop
6 End If
7 End Loop


Quick Reply
toggle
  Username:
Subject:
Body:
Security Code:
Enter the code shown above:

Submit

Powered by Active Forums

Forum participation and optional registration

You don't need to be registered to partcipate in the Djuggler forums, however if you want to subscribe to email notifications you need to register. You can also subscribe to the forum RSS feed.