$(...parent()).html() didn't capture the textarea content

Posted by uzay95 on Stack Overflow See other posts from Stack Overflow or by uzay95
Published on 2010-04-02T20:05:07Z Indexed on 2010/04/02 20:13 UTC
Read the original article Hit count: 305

Filed under:
|
|

I am generating user control according to search result. And allowing to change text inside of textarea (picture or video description)

alt text

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 . alt text

// 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");        
}

alt text

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about clone