[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: On Jan

[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 to

[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 pretty new to

[jQuery] Re: Change Jeditable trigger

2008-01-24 Thread Mika Tuupola
On Jan 24, 2008, at 1:39 PM, frizzle wrote: -cut- div class=edit id=unique_idEditable text/div a href=# class=edit_triggerEdit me!!/a -cut- You could do something like: -cut- $(.edit).editable(?php print $url ?echo.php, { event : edit }); $(.edit_trigger).bind(click,

[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 that to be a link