Santosh Sasupalli

Santosh Sasupalli

  • NA
  • 181
  • 24.9k

jQuery- invalid property id

Oct 14 2016 5:00 AM
hi i am using data tabel
 
in that column i call edit functionality
return '<button class="btn btn-primary btn-xs clk" id="Edit" onclick="Edit('+JSON.stringify(full)+')"><i class="fa fa-pencil"></i></button> ';
here full is an object i passed to edit function
 
function Edit(full)
{
console.log(full);
$("#form").show();
alert(full.FirstName);
//$("#EnquiryId").val(full.EnquiryId);
//$("#FirstName").val(full.FirstName);
}
 
but it shows  invalid property id plaese clarify me
 

Answers (3)