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

Completado Publicado Nov 14, 2003 Pagado a la entrega
Completado Pagado a la entrega

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 [login to view URL], 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 [login to view URL] and

[login to view URL] 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=[login to view URL];

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

var amount = [login to view URL]((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+

Apple Safari Ingeniería Google Chrome Java MySQL PHP Arquitectura de software Verificación de software Web Hosting Gestión de páginas web Verificación de páginas web

Nº del proyecto: #3010171

Sobre el proyecto

16 propuestas Proyecto remoto Activo Nov 14, 2003

Adjudicado a:

felenkavw

See private message.

$5 USD en 7 días
(26 comentarios)
3.4

16 freelancers están ofertando un promedio de $23 por este trabajo

romchyk

See private message.

$12.75 USD en 7 días
(14 comentarios)
5.4
preyasvw

See private message.

$63.75 USD en 7 días
(34 comentarios)
4.4
stanishjohnd

See private message.

$17 USD en 7 días
(44 comentarios)
4.3
zdcodinginc

See private message.

$85 USD en 7 días
(24 comentarios)
4.5
katchei

See private message.

$3.4 USD en 7 días
(10 comentarios)
3.9
arkinfotech

See private message.

$8.5 USD en 7 días
(5 comentarios)
3.9
nmaxx

See private message.

$4.25 USD en 7 días
(7 comentarios)
2.0
adrianhara

See private message.

$4.25 USD en 7 días
(7 comentarios)
1.9
dotnetjobs

See private message.

$17 USD en 7 días
(0 comentarios)
0.0
sainivw

See private message.

$25.5 USD en 7 días
(0 comentarios)
0.0
canerelci

See private message.

$25.5 USD en 7 días
(0 comentarios)
0.0
pandurangvn

See private message.

$17 USD en 7 días
(0 comentarios)
0.0
zone168

See private message.

$8.5 USD en 7 días
(1 comentario)
0.0
jeffroyvw

See private message.

$21.25 USD en 7 días
(0 comentarios)
0.0
j2eeclinic

See private message.

$42.5 USD en 7 días
(0 comentarios)
0.0