jquery how to re-apply themes.js when a new element is added via js
Asked by
jsherk
When a page loads, the /themes/
I have added additional js that will allow a user to add and remove new elements to the page, but when I add the element, the class changes applied by themes.js are not applied, since they were run when the page was loaded.
How can I have the .ready() function run again when the user adds a new element to the page? Is there a way to call these functions from javascript to run them again so the newly added elements will get the class changes as well?
Thanks
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- PHPDevShell Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- jsherk
- Solved:
- Last query:
- Last reply:
To post a message you must log in.