Frederick Cheung wrote:
> On 8 Oct 2008, at 15:56, Jay Pangmi wrote:
>
> Find out exactly why it is not working and you will be well on your
> way to fixing it.
>
> Fred
I'm trying to find out why?? but I don't think I can. Until now what
I've found is that the Firefox showing errors in its error console is
from the default javascripts files of which prototype.js I tried to
trace the problem as it was saying ')' is missing on some number line.
So, i went there but found everything is fine. ')' is there. Also, the
line giving error from my code is:
new Form.Element.EventObserver('great_walks', function(element, value)
{new Ajax.Updater('campsites_list', '/user/update_campsites',
{asynchronous:true, evalScripts:true, parameters:'id=' + value +
'&authenticity_token=' +
encodeURIComponent('596f343332f1b5ff9a9bcd36fe9545a71a293677')})})
but according to api docs, observe_field generates similar line only.
Firefox says 'form is not defined' and highlights this line. I don't
know what to do.. please suggest... thanks..
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---