hi,

I did some debugging using web developer's toolbar and found
this...Javascript console is showing two errors
1. illegal XML character in
http://localhost/cake/js/prototype/prototype.js        Line 1
       <%= include 'Header' %>

on checking the prototype.js, here how it looks
          <%= include 'HEADER' %>
              var Prototype = {
                  Version: '<%= PROTOTYPE_VERSION %>',
                   ScriptFragment:
'(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)',
                   emptyFunction: function() {},
                   K: function(x) {return x}
              }
          <%= include 'base.js', 'string.js' %>
          <%= include 'enumerable.js', 'array.js', 'hash.js',
'range.js' %>
          <%= include 'ajax.js', 'dom.js', 'form.js', 'event.js',
'position.js' %>
2. Event.Observe is not a function

I think the second error is due to the first one...thus for reference,
here is how I installed prototype.js...I unzipped all the js file
within app/webroot/js/prototype and including prototype.js in my
default.thtml using

<script language="JavaScript" type="text/javascript"
src="/cake/js/prototype/prototype.js"></script>

I am using cake in src because my cakephp is not on localhost but
inside a directory a called cake

Please let me know where I am making a mistake
Regards,
Bingo


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to