Deco write:
"
The inPlaceEditor has an externalControl option if I remember. Set  
this to the id of the item that will trigger the editor.

Deco
"
Ok i found in documentation but how to do this, when i have to use this in 
event procedure?? i have div that when i clicked on i want to trigger the 
editor. in function that is called when onclick happen i did like this:
function eventProcedure(event) {
    id = this.id.substring(1);
     new Ajax.InPlaceEditor('a'+id, '/demoajaxreturn.html',{externalControl: 
id});
}
but this only does that element 'a'+id is made inplaceEditor and clicking him  
trigger editor. And I want that function eventProcedure trigger editor, how to 
do it?
Thank for any help
Gregor

----------------------------------------------------
GUNS N'ROSES z charyzmatycznym wokalistÄ… Axl'em 
na jedynym koncercie w Warszawie!
Bilety: wwW.odyssey.pl wwW.ticketpro.pl
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fguns2.html&sid=747


_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to