Em Andamento

Parse source code of current page and assign to variable using Javascript

I've been playing around with this and can't figure

it out. If you have a solution for this, I'll gladly

pay for it.

Let's say I have a page called [url removed, login to view], which is

made up of 100 lines of html code, and let's say line

45 says something like this...

Total value of inventory: US $1281.75

I know that pages will change from time to time, so I can

never be sure that it will always appear on line 45, but

I DO know that somewhere on the page it will always say...

Total value of inventory: US $

... followed by an amount.

I need to insert a javascript code ON THE SAME PAGE that

will read that amount and assign it to a variable I can use.

I'm not much of a Javascript expert, but I do know there

are various things like [url removed, login to view] and

[url removed, login to view] that you can use to

retrieve source code on the current page.

Unfortunately, in my experiments, I can only reference

the instances of these strings that appear in my Javascript

code!

The code I've been using (which doesn't work) is something

like this...

///////////

var getthecode=[url removed, login to view];

var loc1 = [url removed, login to view]('Total value of inventory: US $');

var amount = [url removed, login to view]((loc1 + 30),(loc1 + 7))

///////////

It'd be nice if it worked in most browsers, but I'll take

what I can get.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.

3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).

## Platform

IE5.5+, NS6+

Habilidades: Apple Safari, Engenharia, Google Chrome, Java, MySQL, PHP, Arquitetura de software, Teste de Software, Hospedagem Web, Gestão de Site , Teste de Website

Ver mais: what is substring, substring in c, substring c, substring 0 2, source code program php, source buyer, out source work, out source html, get substring, c substring, c source code, c++ parse html 5, code on time, code line, buyer source, source code for html, c program source code, the parse platform, parse html, parse an html, java complete reference, c get page source, javascript html parse, 100 lines code, insert variable

Acerca do Empregador:
( 90 comentários ) United States

ID do Projeto: #3010171

Premiar a:

felenkavw

See private message.

$5 USD em 7 dias
(26 Avaliações)
3.4

17 freelancers estão ofertando em média $25 para este trabalho

TakeRealUK

See private message.

$8.5 USD in 7 dias
(806 Comentários)
7.0
dmiceman

See private message.

$59.5 USD in 7 dias
(62 Comentários)
5.8
romchyk

See private message.

$12.75 USD in 7 dias
(14 Comentários)
5.4
zdcodinginc

See private message.

$85 USD in 7 dias
(23 Comentários)
4.4
preyasvw

See private message.

$63.75 USD in 7 dias
(34 Comentários)
4.4
stanishjohnd

See private message.

$17 USD in 7 dias
(44 Comentários)
4.3
katchei

See private message.

$3.4 USD in 7 dias
(10 Comentários)
3.9
arkinfotech

See private message.

$8.5 USD in 7 dias
(5 Comentários)
3.9
nmaxx

See private message.

$4.25 USD in 7 dias
(7 Comentários)
2.0
adrianhara

See private message.

$4.25 USD in 7 dias
(7 Comentários)
1.9
pandurangvn

See private message.

$17 USD in 7 dias
(0 Comentários)
0.0
zone168

See private message.

$8.5 USD in 7 dias
(1 Comentário)
0.0
sainivw

See private message.

$25.5 USD in 7 dias
(0 Comentários)
0.0
jeffroyvw

See private message.

$21.25 USD in 7 dias
(0 Comentários)
0.0
j2eeclinic

See private message.

$42.5 USD in 7 dias
(0 Comentários)
0.0
canerelci

See private message.

$25.5 USD in 7 dias
(0 Comentários)
0.0
dotnetjobs

See private message.

$17 USD in 7 dias
(0 Comentários)
0.0