A: 

In this case you want a .each() and use this where needed inside to get an attribute from the current element for usage, like this:

$('.ckeip_edit').each(function() {
  $(this).ckeip({
    data: {
      name : 'value',
      id : this.id
    },
    //options...
  });
});
Nick Craver
Thank you very much, I have been banging my head on the desk for ages trying to get this to work. This has solved my problem entirely. :-)
Anthony
A: 

That won't work because this refers to the data object. You need to save the jQuery object so you can use it inside the object later.

Try something like:

var textarea = $('.ckeip_edit');

textarea.ckeip({
  data: {
    name : 'value',
    id : textarea[0].id;
  }
});
CD Sanchez
`.getAttribute()` isn't a jQuery method :) Also it would get the ID of the *first* one if it was, not of each as you are executing the plugin.
Nick Craver
@Nick Craver: Oops, you're right. I had `textarea[0].id` but changed it to `getAttribute` for some dumb reason. Fixed.
CD Sanchez
@Daniel - Say there's 20 of these...it still gets the `id` of the first one only :)
Nick Craver
@Nick Craver: He refers to the textarea as "my textarea" -- singlular, so I assume there is only one.
CD Sanchez