Profile picture Schedule a Meeting
c a n d l a n d . n e t

Ajax javascript issues.

Dusty Candland | |

Javascript functions injected into the DOM using innerHTML will not work. So using something like:
<br />mydiv.innerHTML = [html result from ajax method call];<br />&hellip;<br /><div id=&ldquo;mydiv&rdquo;><br /></div><br />
make sure the [html result from ajax method call] doesn’t contain javascript, other then events (onclick, onblur, etc.).

Webmentions

These are webmentions via the IndieWeb and webmention.io. Mention this post from your site: