asp.net mvc - tinyMCE is not defined -


I am using TinyMCE in ASP.NET MVC 3 but I think this is not a problem.

Error:

jquery-1.9.0.min.js: 3 inauspicious reference error: tinyMCE is not defined

localhost: 67678 / scripts / jquery- 1.9 0.min.js

  & lt ;! - TinyMCE - & gt; & Lt; Script type = "text / javascript" src = "~ / scripts / tiny_mce / tiny_mce.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" & gt; TinyMCE.init ({mode: "textareas", theme: "simple"}); & Lt; / Script & gt; & Lt ;! - / TinyMCE - & gt; & Lt; H3 & gt; Example of a simple theme & lt; / H3 & gt; & Lt; P & gt; This page shows you simple topics, and its main functionality can change the code and extend it using advanced theme if you need to configure / add more buttons etc. & Lt; A href = "http://tinymce.moxiecode.com/examples/"> Wiki & lt; / A & gt; & Lt; / P & gt; & Lt ;! - Turns with TinyMCE, HTML should be encoded in one texterity - & gt; & Lt; Textarea id = "elm1" name = "elm 1" rows = "15" cols = "80" style = "width: 80%" & gt; & Amp; Lt; P & amp; Gt; This is some example text that you & amp; Lt; Strong & amp; Gt; TinyMCE Editor & amp; Amp; Lt; / Strong> Can edit inside. & Amp; Lt; / P & amp; Gt; & Amp; Lt; P & amp; Gt; The best for the name, it's working on a great place, I know how you can know about QCIC Digensim Mauris A. Aguilitrm temporarily work on a large scale for any person Or asks about any other person. Now after death, in the first phase of some type of lasinia, information about postage stamps is now for some time Morbi Laureet Pulvinar Revida now fly for an additional drivers. For other elements, Ultrasus Cross Fossibus Fugitus ArchuXa Lacinia, in this situation, it is estimated that portability was thought to be very good. For any time, either can be either. Fuss Societies Ventis Dipibus is no longer complete with full number of ultracissive, ultrashey Mauritius, Forced ordinate mesinate mesa, and Tables now for nothing. & Amp; Lt; / P & amp; Gt; & Lt; / Text field & gt; & Lt; Br / & gt; & Lt; Input type = "submit" name = "save" value = "submit" /> & Lt; Input type = "reset" name = "reset" value = "reset" /> & Lt; Script type = "text / javascript" & gt; If (document.location.protocol == 'file:') {Warning ("The example can not work properly on the local file system due to security settings in your browser. Please use an actual webserver."); } & Lt; / Script & gt;   

Image: Enter image details here

It is working:

It is working

../../ script / small_my / small_mc.js

My question is why does not it work is? And why VS 2010 does not show error with path?

~ / scripts / tiny_mce / tiny_mce.js

correct answer -> ; ../../ script / tiny_mce / tiny_mce.js

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -