开发者

textarea as list

Im trying to make 2 side by side text areas, with 2 buttons between them, one that adds an item from a selected line in the left textarea to the textarea on the right, the other to remove a selected item from the list on the right. Basically, a开发者_如何学编程 'line selected' function is where Im failing. Any ideas?


You can put each item in span/paragraph tag and use break line if necessary to keep each item on a separate line, then you can put a onclick event on the individual span tags. Would this help?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜