javascript - Problem with jquery appendTo function -


There are several textures on my page and I use the jquery Focus function to clean textarea False (function () {if ($ (this) .attr ("has_desc") == "false") {code is:

  $ (" Textarea.text ") {$ (this) .val (" "); $ (this) .attr (" has_desc "," true ");}});   

The user has the ability to dynamically add new textres and I use the attachment function to add a new one. The problem is that the above code does not work for the attached texts! HTML code is exactly what is not dynamically added! Can anyone please tell me what is the problem?

. Focus will not work for dynamic elements you can use. ('Focus', function) ...

Comments