Advertisement

05.13.2008 at 02:08PM PDT, ID: 23399470
[x]
Attachment Details

Get hyperlinks from Ajax script on a Web Page

Asked by metalfish in Extensible Markup Language (XML), C# Programming Language, Extensible HTML (XHTML)

Tags: C#, Ajax

I am writing a simple web crawler in C# using .NET. I notice there is a lot of links embedded into javascript and ajax. I am especially interested in following the OnClick member in A tag. Is there way to follow these type link through DOM?

For example:
<a onClick=ajax_script('action', 'action.php?action_id=11') onMouseOver=this.style.cursor='pointer'>Action 11</a>

Thanks,

MF
Start Free Trial
 
Loading Advertisement...
 
[+][-]05.13.2008 at 03:16PM PDT, ID: 21559783

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.13.2008 at 04:45PM PDT, ID: 21560209

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.13.2008 at 05:09PM PDT, ID: 21560302

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Extensible Markup Language (XML), C# Programming Language, Extensible HTML (XHTML)
Tags: C#, Ajax
Sign Up Now!
Solution Provided By: hielo
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628