Results 1 to 1 of 1
-
22nd Jan 2012, 10:56 AM #1OPMember
help with javascript: Get text from a certain xpath.
Hey guys,
i wanted to ask your help with a little script i need.
I need a script to get text from a website by it's xpath and put it into a virable.
for example:
1. go to www.besthostingforums.com
2. get text from:
Code:xpath=//div[@id='header']/div[@class='wrapper']/div[@class='memberBox']/div[@class='loginBox']/div[@class='memberInfo']/span[@class='time']
3. Put the text into a virable called "lasttimevisited"
so when i use this virable it will show me the last time i visited (or another text i choose by the xpath and the website i define in the code)
can somebody help with it ?Elico A Reviewed by Elico A on . help with javascript: Get text from a certain xpath. Hey guys, i wanted to ask your help with a little script i need. I need a script to get text from a website by it's xpath and put it into a virable. for example: 1. go to www.besthostingforums.com 2. get text from: xpath=//div/div/div/div/div/span (this is the xpath of the last time i visited) Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
JavaScript help
By Keosoft90 in forum Web Development AreaReplies: 4Last Post: 4th Sep 2012, 04:23 PM -
[WordPress] How to do this in javascript/php?
By thizzladen in forum Web Application/Script SupportReplies: 0Last Post: 16th Mar 2012, 12:05 AM -
javascript help
By jokerhacker in forum Web Development AreaReplies: 4Last Post: 27th Dec 2010, 11:02 AM -
Help About JavaScript
By macypro in forum Technical Help Desk SupportReplies: 1Last Post: 7th Dec 2010, 12:23 AM -
help with some javascript
By bumilad20 in forum Web Application/Script SupportReplies: 2Last Post: 3rd Jun 2010, 05:01 AM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...