View Full Version : help on selected text...

06-05-2003, 06:31 PM

I just want some help,

when a text (which contains href link) is selected, I want the the href link in an hidden field. how can I do this...


<div id="div1">

some text here with <a href="http://yahoo.com"> href link </a>
<input type="hidden" value="" id="getText">

when I select href or link, I want the Href of it in the hidden field.

Thanks a lot

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum