List Info

Thread: Ajax.InplaceEditor (script.aculo.us / Prototype)




Ajax.InplaceEditor (script.aculo.us / Prototype)
country flaguser name
United States
2007-09-27 20:33:18
I am new to script.aculo.us and prototype and I am having
problem
using it. It only has problem in IE. There is no problem in
Firefox
and it works fine. I am using script.aculo.us InPlaceEditor
and it
always returns object expected as an exception. What I could
debug so
far is I could see element and url which are the parameters.
I could
see object in Ajax.InPlaceEditor after creating class but
always get
an error when Ajax.InplaceEditor.prototype is initialized or
assigned.
Any reference would be a great help for me. Please let me
know if
there is any other right place to post by problem.

Thanks,

Tamoj...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffsgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---


Re: Ajax.InplaceEditor (script.aculo.us / Prototype)
country flaguser name
United States
2007-09-27 20:48:55
the code:

error when calling this:
		new Ajax.InPlaceEditor(elementname, url, options);


in control.js

Ajax.InPlaceEditor = Class.create();
Ajax.InPlaceEditor.defaultHighlightColor =
"#FFFF99";

Ajax.InPlaceEditor return object but error on
Ajax.InPlaceEditor.prototype = {
  initialize: function(element, url, options) {

Tamoj


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffsgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )