I'm trying to work out how to call Hobo.ajaxRequest.
I'm using the record_select plugin, and need to call from the
onclick.
This particular case is for a create. I've got it working on another
part of the site for an update.
But create seems to be different.
I've tried and failed to send the parameters. So far I have:
Hobo.ajaxRequest("/interested_parties",
['interested_parties'],
{ params: {
user_id: user_id,
notifiable_type: object_type,
notifiable_id: object_id
},
action: 'create',
controller: 'interested_parties',
method: 'put',
spinnerNextTo: this, message: "" } )
action is ignored completely, and params also.
If anyone can point me in the direction of some relevant docs that
would be much appreciated! The only example I've found is the one on
the Hobo Cookbook for dynamic menus.
Thanks
Adam
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" 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/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---