KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm using jQuery to append some JavaScript when an item is expanded. But the JavaScript code inside of the jQuery function is causing the rest of the jQuery code to explode. $(this).parent('li').find('.moreInfo').append('<script>alert("hello");</script>'); What can I do to solve this problem?
Tags (comma-separated)
Save Edits
Cancel