javascript - Installation tinymce in zend application -


i'm noob jquery. try install plugin tinymce on zend application.

in header of page put:

<?php $this->headscript()->appendfile('/js/jquery-1.9.1.js'); $this->headscript()->appendfile('/js/tinymce.min.js'); ?>  <script type="text/javascript">     tinymce.init({         selector:'textarea#content-post'     });  </script> 

(as indicated on model official website tinymce)

but in firebug console have:

syntaxerror: syntax error     <!doctype html>                                      tinymce.min.js (ligne 8)     typeerror: l not constructor                    tinymce.min.js (ligne 8) 

do know why have error please?


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -