"innerText" is what you are after.

You'll need to locate the relevant anchor object using DOM and then once
you have that object it is just:

anchorObject.innerText;


That should set you on your way,

Andr�
-----Original Message-----
From: Kris Pilles [mailto:[EMAIL PROTECTED] 
Sent: 03 June 2003 16:25
To: CF-Talk
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

Get the mailserver that powers this list at 
http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to