Online Page Editor Add-on Support Product Page

This topic is locked

'jQuery' is not define - Resolved

Asked 11 Apr 2011 09:33:23
1
has this question
11 Apr 2011 09:33:23 Naya Brandt posted:
When I use Online Page Editor Add-on on my homepage I get this error:

Meddelelse: 'jQuery' er ikke defineret
Linje: 21
Tegn: 3
Kode: 0
URI: kennel-hanne.dk/hjem/foto_hv_dag_id.asp?klud_navn=31

Replies

Replied 11 Apr 2011 10:21:34
11 Apr 2011 10:21:34 Teodor Kuduschiev replied:
Hello,

Please move the following code:

<script language="javascript" type="text/javascript">
<!--
function copyrightDate(){
wriYr = new Date
var doYr = wriYr.getFullYear()
document.write("&copy 1996 - " + doYr + "")
}
//-->
  /* dmxPageEditor name "dmxPageEditorGlobals" */
  jQuery(document).ready(
   function()
     {
       jQuery("body").dmxPageEditor(
         {activationKey:"ctr+f2", editDreamweaverRegions:false, editableRegionsList:"tekst", editorConfig:{width:500, height:200, lineBreak:"p", locale:"da"}}
       );
     }
 );
  /* END dmxPageEditor name "dmxPageEditorGlobals" */
</script>

Under this line:

<script type="text/javascript" src="../ScriptLibrary/dmxPageEditor.js"></script>

Replied 12 Apr 2011 10:08:38
12 Apr 2011 10:08:38 Naya Brandt replied:
Thank you.
That did the trick.

Edited by - Naya Brandt on 12 Apr 2011  10:08:49

Reply to this topic