jquery - bootstrap-wysihtml5 can't get it work:no iframe, no html -
i can't run bootstrap-wysihtml5 editor on page,this html tag:
<h3 class='sectname'>message</h3> <div class='row-fluid'> <div class='span12'> <textarea name='message' id='message' rows="5" placeholder='your message'> </textarea> </div> </div>
i have included css , js:
<link rel="stylesheet" type="text/css" href="<?php echo $siteurl.'/min/?g=css_m&5259487' ?>"/> <script type="text/javascript" src="<?php echo $siteurl.'/min/?g=js_i&5259487' ?>"></script> <script type="text/javascript" src="<?php echo $siteurl.'/min/?g=js_m&5259487' ?>"></script>
i'm using minify, these files:
'css_m' => array('//css/bootstrap-wysihtml5.css'), 'js_i' => array('//js/jquery-1.10.2.js','//js/bootstrap.min.js','//js/noty/jquery.noty.js','//js/noty/layouts/top.js','//js/noty/themes/default.js','//js/jquery.nimble.loader.js'), 'js_m' => array('//js/wysihtml5-0.3.0.min.js','//js/bootstrap-wysihtml5.js'),
finally initialize it:
$("#message").wysihtml5();
but can't work
Comments
Post a Comment