Change and Keyup Event Handler in JQuery
<p>I m using JQuery in my application .Also i am using Cakephp and Mysql.
I m having a code like below in which instructions is a Textbox that when i type on it ,it will be shown in the Display panel ...</p>

<pre><code> $(".TextFieldSettings #instructions").keyup(function (){
   instr=$(".TextFieldSettings #instructions").val();

  $("#displayPanel .fieldInstructions"+counter).html(instr).show();
   });//Text field instructions keyup
</code></pre>

<p>This Code Works good.</p>

<p>Edit:
  If i change the value in the Textbox instructions ,the keyup value must be shown in the Display Panel .Mean while i need the final changed value in the instr to insert into the database.
How can i do so.. Please suggest me..</p>
