Jump to content

Search the Community

Showing results for tags 'div tag'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 2 results

  1. Hi, I am trying to read a content inside a div tag of an aspx page. <div id="EmailField"> <span id="email"> <a href="mailto:xxxx@yyyyy.com">xxxx@yyyyy.com</a> </span> </div> I want to extract the mail id inside the <a> under div tag. The webpage is designed as an aspx page. Please advise.
  2. Can you guys help me with this. I'm sure it's simple but I'm still pretty green with Autoit. I can grab the innerHTML from the Div tag and the links that I need but, I need the "data-vin" as an identifier. Basically something like this, If my script sees this object "data vin" then get the inner text of the object (the vin #) and the next link below it. Here's what I've got so far and a link to my website. As always, any help is greatly appreciated! If you view source, look at line # 1535 #include <IE.au3> Local $oIE = _IECreate("http://www.beamantoyota.com/new-inventory/index.htm") ;Get collection of elements tagged "LI" for List Item $oListItems = _IETagNameGetCollection ($oIE, "LI") For $oListItem In $oListItems $odivs = $oListItem.getElementsByTagName("div") For $odiv in $odivs $text = $odiv.class ConsoleWrite("Div (text): " & $text & @CRLF) ;Get all the elements tagged "a" for Anchor ;This needs an error handler in case the list item ; doesn't have any anchors $oAnchors = $oListItem.getElementsByTagName("a") For $oAnchor In $oAnchors ;Get the href of each anchor $sHref = $oAnchor.href ConsoleWrite(" Link Info: " & $sHref & @CRLF) Next Next Next
×
×
  • Create New...