How to get the value of the input element of live of Value

Posted by Aruna on Stack Overflow See other posts from Stack Overflow or by Aruna
Published on 2009-08-13T08:36:29Z Indexed on 2010/04/06 21:03 UTC
Read the original article Hit count: 212

Filed under:
|

HI,

 i am having a Input hidden element like

in my JQuery i am setting the value for the above input type after some ajax call like

EDIT:::

                      $.ajax({
		type: "POST",
		  url: "http://localhost/FormBuilder/index.php/forms/saveForm/",
                       async: false,
		data: "formname="+formname+"&status="+status,
								   			             success: function(msg){$("#FormID").val(msg); }//success

                 });//ajax

Now somewhere in the code after this i want to fetch the value of this FIeld.How to get this value on live of value for this input type..

EDIT::: i am retriving like by var FORMID=$("#FormID").val();//but shows null

How to get the value of it on live of this Input element

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about AJAX