Article View: borland.public.cppbuilder.internet.web
Article #1379Re: get text from javascript?
From: bcb
Date: Fri, 25 Feb 2005 00:09
Date: Fri, 25 Feb 2005 00:09
24 lines
1626 bytes
1626 bytes
Part of the script looks something like
if (document.all)
document.all.countDownText.innerText = secsToMins(countDownTime);
else if (document.getElementById)
document.getElementById("countDownText").innerHTML =
secsToMins(countDownTime);
would it be possible to get the value of the CountDownTime variable?
"Hans Galema" <notused@notused.nl> wrote in message
news:421e56d9$1@newsgroups.borland.com...
> bcb wrote:
>
> > The script is embeddeded in the resulting php file.
>
> Get the hrmldata with a HTTP component like TIdHTTP or
> TNMHTTP. You could even use TCppWebBrowser.
>
> Then parse the data. Just look for <script> and so on.
>
> Hans.
Technical Details
Message-ID:
<421e6cba$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<421d5299$1@newsgroups.borland.com> <421d944d@newsgroups.borland.com> <421e225a$1@newsgroups.borland.com> <421e56d9$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,f36d577767323824 X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "bcb" <noemail@sorry.com> Newsgroups: borland.public.cppbuilder.internet.web References: <421d5299$1@newsgroups.borland.com> <421d944d@newsgroups.borland.com> <421e225a$1@newsgroups.borland.com> <421e56d9$1@newsgroups.borland.com> Subject: Re: get text from javascript? Date: Thu, 24 Feb 2005 19:09:34 -0500 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 24.184.197.61 Message-ID: <421e6cba$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1109290170 24.184.197.61 (24 Feb 2005 16:09:30 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail