[jQuery] Re: Change Jeditable trigger

2008-01-29 Thread frizzle
I noticed that if the trigger is in a different TD than the DIV itself, Mika's method won't work, am i correct? On Jan 24, 1:58 pm, frizzle <[EMAIL PROTECTED]> wrote: > On Jan 24, 12:39 pm, frizzle <[EMAIL PROTECTED]> wrote: > > > > > On Jan 24, 11:59 am, Mika Tuupola <[EMAIL PROTECTED]> wrote: >

[jQuery] Re: Change Jeditable trigger

2008-01-24 Thread frizzle
On Jan 24, 12:39 pm, frizzle <[EMAIL PROTECTED]> wrote: > On Jan 24, 11:59 am, Mika Tuupola <[EMAIL PROTECTED]> wrote: > > > > > On Jan 23, 2008, at 11:50 PM, frizzle wrote: > > > > Hi there, > > > > Imagine i have a DIV with editable content (with Jeditable), but i > > > want the trigger for th

[jQuery] Re: Change Jeditable trigger

2008-01-24 Thread Mika Tuupola
On Jan 24, 2008, at 1:39 PM, frizzle wrote: -cut- Editable text Edit me!! -cut- You could do something like: -cut- $(".edit").editable("echo.php", { event : "edit" }); $(".edit_trigger").bind("click", function() { $(this).prev().trigger("edit"); }); -cut- Hope this h

[jQuery] Re: Change Jeditable trigger

2008-01-24 Thread frizzle
On Jan 24, 11:59 am, Mika Tuupola <[EMAIL PROTECTED]> wrote: > On Jan 23, 2008, at 11:50 PM, frizzle wrote: > > > > > Hi there, > > > Imagine i have a DIV with editable content (with Jeditable), but i > > want the trigger for that to be a link behind the div. > > It´s probably very simple, but i´m

[jQuery] Re: Change Jeditable trigger

2008-01-24 Thread Mika Tuupola
On Jan 23, 2008, at 11:50 PM, frizzle wrote: Hi there, Imagine i have a DIV with editable content (with Jeditable), but i want the trigger for that to be a link behind the div. It´s probably very simple, but i´m pretty new to jQuery and do not know how to achieve this. It has to look somewha

[jQuery] Re: Change Jeditable trigger

2008-01-24 Thread Javier Infante
El mié, 23-01-2008 a las 13:50 -0800, frizzle escribió: Hello! > Imagine i have a DIV with editable content (with Jeditable), but i > want the trigger for that to be a link behind the div. > It´s probably very simple, but i´m pretty new to jQuery and do not > know how to achieve this. > It has t