...

View Full Version : help on selected text...



kamarthi7
06-05-2003, 07:31 PM
hello,

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...

example

<div id="div1">

some text here with <a href="http://yahoo.com"> href link </a>
</div>
<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