In my jQuery function I read the div tag into variable. There are many text fields inside that div tag. I want to get specific field by its name.
Tag:
var guest_html=$('#guests_feilds1').html();
Get field:
guest_html.getElementById('fname');
But this will return error "has no method 'getElementById' ".
I just want to get the "fname" field and change its name dynamically.How can i do that?