$(...parent()).html() didn't capture the textarea content
- by uzay95
I am generating user control according to search result. And allowing to change text inside of textarea (picture or video description)
aaaaaa is default text to change. User can change textarea and when user clicked on EKLE (ADD) button,
i am cloning the EKLE button's parent and adding to result div. But i can't see the textarea content .
// this function is cloning the one result div which is clicked on it and appending the result
function f_ResimSecildi_Ekle(divEklenecek) {
$(divEklenecek).clone().prependTo("#divEklenenResimler").hide().fadeIn("slow");
$("#divEklenenResimler input[id*=btnEkleResim_]").remove();
$("#divEklenenResimler input[id*=btnKaldirResim_]").removeAttr("style").show();
$("#btnHaberResimleriYap").removeAttr("disabled");
}