Look at this piece of my code:
$(".field").editable("http://"+document.location.host+"/index.php/welcome/update_record",
{
event : "mouseover",
style : "inherit",
callback: function(value, settings)
{
//Some code
}
}
But I have some problems - this code works good for me, because it catches clicks by "enter" button. But now I need to change type of field to "textarea":
$(".field").editable("http://"+document.location.host+"/index.php/welcome/update_record",
{
type : "textarea",
event : "mouseover",
style : "inherit",
callback: function(value, settings)
{
//Some code
}
}
And now it doesn't work - i.e. callback function has never executed. Please, tell me, I need to have textarea field and to catch event of pressing Enter.