How to get the value of the input element of live of Value
- by Aruna
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