You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I include JS of wmd (https://raw.githubusercontent.com/derobins/wmd/master/wmd.js), and I load content of my page with ajax call. I append this content to body.
There is a #wmd-editor and #wmd-input div, but when I press keydown, there is no preview, nothing happen.
How can I do in this case?
thx
The text was updated successfully, but these errors were encountered:
MatrixFr
changed the title
JS does't works whith ajax load contet
JS does't works whith ajax load content
Dec 1, 2014
I just transform "util.addEvent(top, "load", loadListener);" to "loadListener();". And scope all JS in function, called at each loading page (ajax or not).
Hi,
I include JS of wmd (https://raw.githubusercontent.com/derobins/wmd/master/wmd.js), and I load content of my page with ajax call. I append this content to body.
There is a #wmd-editor and #wmd-input div, but when I press keydown, there is no preview, nothing happen.
How can I do in this case?
thx
The text was updated successfully, but these errors were encountered: