I m finding for a solution. But this is very critical I think. Though its very critical, I hope you will solve this. problem is as below
I have 5 divs with no ID. say as
<div>The quick brown fox jumps over the lazy dog<input name="" type="button" /></div> <div>this is another dive for copy<input name="" type="button" /></div> <textarea name="" cols="" rows="" style="width:100%">This the text wher I want to add my text</textarea>
Now I want that from 1st div I will select some words as below (in red color)
<div>The quick brown [B]fox jumps over[/B] the lazy dog<input name="" type="button" /></div>
and after clicking on the button it will add last of textarea content. How can I do that.
Remember also I m using tinymce. so how it will add in text area editor. Please help me it it is possible