Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Html object ID
Message
De
03/11/2013 12:23:16
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01587192
Message ID:
01587194
Vues:
58
>I have a _webform program that I have used for years but the websites it accesses data from have changed. One of the websites is
> http://www.jacksoncountytaxcollector.com/Property/SearchSelect?Accept=true
>This takes you to a form to enter a search request. The program fills in a property number (29-3N-07-0000-0020-0010) and a year (2008) and clicks the search button. So far so good. On the old site a new web page would be returned with the search results and the command
>
>o.oleWebBrowser.DOCUMENT.getElementByID("ctl00_ContentPlaceHolder1_grdResults_ctl03_LinkButton1").CLICK
>
>was executed. The page with the actual tax bill that I wanted was then returned.
>
>On the revised website instead of a new page an array of the search results is created and displayed on a previously hidden part of the original page and you need to click on the property number of your choice. My searches are unique and will always return only 1 result. I have tried many command combinations but cannot find the right one. The only one that doesn't error out is o.oleWebBrowser.DOCUMENT.getElementByID("filter-results-table").CLICK
>but nothing seems to happen.
>I need for someone to go to the site and view the source code and suggest what command I need. The property number and year above are real. I am certificate holder 0251.

Looks like you need to fire the click on the td element below (class="tax-detail-link")
<td class="tax-detail-link" taxbillno="54900" rolltype="R" taxyear="2008" data-pq="N" data-st="CI">
<a href="javascript:;">R - 29-3N-07-0000-0020-0010 - 2008</a>
</td>
Maybe : document.getElementsByClassName('tax-detail-link')[0] (untested)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform