Give the tag an ID and then use this function:
function getText(id) {
collection = document.all;
for (i = 0; i < collection.length; i++) {
if (collection[i].id == id) {
return(collection[i].innerText);
}
}
return("Not found");
}
HTH,
Mike
----- Original Message -----
From: "Kris Pilles" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, June 03, 2003 11:24 AM
Subject: OT: JS help
> Ok, this is an odd request but:
>
> I was curiosu if it is possible with javascript to reference the value
> of the text contained inbetween the <a
> href="mylink.htm?search=JavascripforMyValue">Thevalue</a>
>
> Any help would be awesome.
>
> I need to do this with JS only
>
> Thanks
>
>
>
> Kris Pilles
> Website Manager
> Western Suffolk BOCES
> 507 Deer Park Rd., Building C
> Phone: 631-549-4900 x 267
> E-mail: [EMAIL PROTECTED]
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community.
http://www.fusionauthority.com/ads.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4