I'm not sure what you mean. This line:

id        : 'data[Note][post_key]'

... tells the editable plugin to send your data as:

data[Note][post_key]=whatever&etc=etc

... instead of:

id=whatever&etc=etc

Now, having said that, there *may* be a problem with using square
brackets. I recall something similar on the jquery list (I don't
recall the solution, though). If that's the problem you're having, let
me know and I'll ask about it.

On Thu, May 7, 2009 at 6:02 PM, Dave Maharaj :: WidePixels.com
<[email protected]> wrote:
>
> Just wondering if this looks normal to those who have been using jQuery.
> When I look at the js in firebug i see
> $(function() {
>    $('.test').editable('/notes/mynote/' ,   {
>         id        : 'data[Note][post_key]',
>         name      : 'data[Note][note]',
>         type      : 'text',
>         cancel    : 'Cancel',
>         submit    : 'Save',
>           indicator : '<img src="/app/webroot/css/images/spinner.gif">',
>         tooltip   : 'Click to edit your note'
>    });
> });
>
> I thought the 'data[Note][post_key]',name:'data[Note][note] would be filled
> in with something? Am i wrong?
>
> Dave
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to