What I want to do is this:
I can either add all the words to the left to There's not much to go here, but I'm guessing highlighting thing that lesson A square that is inside a div, you can do something similar with jQuery: You obviously need to change the selectors to match your markup. Here's a fiddle: and lt; Div & gt; Correct
& lt; I want to move to div & gt; or click to highlight only the ones selected is already part of the click but the content is a
& lt; Div & gt; to the other side which I have never done before? Is there anything that can be done with jquery or javascript? . Thank you.
$ ("body"). ("Click", "#copyselected", function () {var text = ""; $ ("div .highlighted") each (function () {text + = $ (this) .text (); $ ( "Textarea"). Val (text);})}) $ ("body") ("Click", "#copyAll", function () {$ ("textarea"). Val ($ ("div"). Text ());})
No comments:
Post a Comment