<input type="hidden" value="" id="myhidden">
Iam getting the Value of Button Value using data-value attribute from button
var myvalue = $(this).attr("data-value");
I have to pass the "myvalue" to the hidden value
$("#myhidden").attr("value","??????????????");
when i have passed "myvalue" It is not acccepting