I try to clone input field, but all I can do is to grab the value.
Here is the jsFiddle
When I try to do $('#input').html()
i got and empty string.
I know that the answer is somewhere on the surface, but I can't find it. Please help.
EDIT
I DO NOT NEED a value. I said - i can do it. I need to CLONE the input as HTML. What here is not understandable?
EDIT 2
I tried to clone an element and get html with this:
$('#text').clone().html()
but it returns an empty value too. Although if I try to get a val:
$('#text').clone().val()
It returns a value normally