Markitup javascript will not load

382 Views Asked by At

I'm using markItUp! for BBCodes on my website. It worked fine before, but after rearranging a few things it suddenly stopped working, and I have no idea why. It doesn't help when I revert my changes, unless I'm missing something.

I have this in my header:

<script type="text/javascript" src="<?php echo $jquery['plugins']['markitup'].'jquery.markitup.js'; ?>"></script>
<script type="text/javascript" src="<?php echo $jquery['plugins']['markitup'].'sets/bbcode/set.js'; ?>"></script>
<link href="<?php echo $jquery['plugins']['markitup'].'skins/simple/style.css'; ?>" rel="stylesheet" type="text/css" />
<link href="<?php echo $jquery['plugins']['markitup'].'sets/bbcode/style.php'; ?>" rel="stylesheet" type="text/css" />

Despite that, the markItUp function is undefined in any other script.

Firebug tells me that it is loaded just fine, but it's still not working.

Everything else is working perfectly, even the bbcode settings (the other js file) are defined like they should.

I have no idea what it might be, so if you need to know anything else, please ask.

0

There are 0 best solutions below