I just spent a tremendous amount of time trying to figure out what's wrong.
I was supposed to hit "enter" instead of living the field.
Is there a way to keep the value without having to do "enter"? e.g. by 
clicking outside of textbox?


----- Original Message ----- 
From: "Lionel Martelly" <[EMAIL PROTECTED]>
To: <jquery-en@googlegroups.com>
Sent: Monday, January 14, 2008 8:32 PM
Subject: [jQuery] instant edit


>
> hi,
>
> Why is the instant edit not editing please? When I click on it it allows 
> me
> to edit but the text does not update at all.
> Thanks
> ---------------------------------------------------$(function() {
>  $(".click").editable("save.php?do=instant", {
> id: "head_420",
>     indicator : "<img src=images/spinner.gif'>",
>      tooltip   : "click to edit",
>      style  : "inherit"
>  }); });-------------------------------------------------<b class="click"
> id="head_420" style="display: inline">click to
> edit</b>----------------------------------------------------if
> ($_REQUEST['do'] == 'instant') {  $myvalue = $_REQUEST['value']; $head =
> $_REQUEST['head']; $arts = explode("_",$head); $artid = $articles[1];do db
> update here echo $myvalue; exit;
>
>
> 


Reply via email to