Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#25 2013-10-20 11:11:05
- Freeant
- Member
- Registered: 2012-04-16
- Posts: 36
Re: Add comments without reloading?
I don’t now what was that. But now everything is saved.
Thanks & Sorry.
Offline
Re: Add comments without reloading?
Gocom wrote:
Oh, and when you do this (fetch DOM, insert it into the DOM), make sure your page doesn’t have inline JavaScript, as it would be executed again if inserted in the DOM, which then will break the page.
jQuery has a nifty feature I was unaware of and wanted to share: when load()
is called with a selector, the scripts are stripped out prior to the DOM being updated, and thus are not executed.
Offline