I have cloned some html and want to append some html before I append to parent div. How can I do that?
<div class="center">
<div class="row-fluid">
<div class="span3">
<select class="chosen-select" id="form-field-select-3">
<option value="">Text</option>
<option value="AL">Department</option>
<option value="AK">City</option>
<option value="AZ">State</option>
<option value="AR">Country</option>
<option value="CA">Industry</option>
</select>
</div>
</div>
</div>
JS Code:
var clone_search = $('.row-fluid .chosen-select').last().clone();
$('.center').append('<div class="row-fluid"><div class="span3">');
$('.center').append(clone_search);
$('.center').append('</div>');