+ 1

when using script load() to load content in a div, other script does not aply to the content loaded?

I have a page that when I select a category load the content in a div and I have a script that if you click a <pre> tag will select and copy the text, the thing is that is not working when the content load, btw sorry for my english here a example https://code.sololearn.com/Wle0122diq0B/?ref=app but does not letme load content from a http server so here other example http://letraspiolas.com/sololearntest.html btw the content y load is a h3tag div and pre tags nothing more

24th Apr 2017, 8:27 PM
Kevin Lamaque
Kevin Lamaque - avatar
1 Odpowiedź
+ 7
I've already read this, and already make an answer, suggesting something with a few less information ( and so, starting by ask for code :P )... and it was deleted ^^ Now, I can better understand your problem seing and studying your code, but I don't really want try to waste my time to help you... even I found the answer to your question. So, I will give it to you anyway, but don't explain it, and let you study to understand by yourself, because the answer is in the JQuery documentation: http://api.jquery.com/load/
24th Apr 2017, 11:28 PM
visph
visph - avatar