contact  |  about  |  sitemap

how to execute java script to click on next link?
Last Post 03 Aug 2009 05:10 AM by Nesh. 4 Replies.
Sort:
PrevPrev NextNext
Author Messages Informative
Nesh

--
01 Aug 2009 06:57 AM
Hi,

i m stuck here.. loop web pages is not working on this page. so i m trying Execute java script command with refresh web page,but i have problem using it. The java script on next button looks like this,

javascript:setEvent(event);
ftlPager_doNext('requisitionListInterface','rlPager','listRequisition',this);
return ftlUtil_followLink(this);

how i use this in execute java script command. your help is greatly appreciated guys.

Thank you,
Nesh


Tijn

--
02 Aug 2009 06:04 PM
Do you have an example URL?

I would guess the ftlPager_doNext function has the solution.


Nesh

--
02 Aug 2009 07:00 PM
Example url

https://ihc.taleo.net/careersection/2/jobsearch.ftl

thanks for your reply buddy. if you figure it out please let me know.

Nesh


Tijn

--
02 Aug 2009 08:48 PM
Please see the attached script.

Basically you look for the ID of the next link and then you click it using javascript like: document.getElementById('[LinkID]').click()

This scripting technique will work for almost any complicated hyperlink that has a javascript in the onclick event.

Regards,
Tijn

nextlink.djs

Nesh

--
03 Aug 2009 05:10 AM
thanks for the solution really appreciate your help tijn...




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.