I want to do addClass in jQuery,
When i do try below codes, it result me like image 1
$('#contineButton').html('Continue').addClass('fa fa-chevron-right');
$('#contineButton').html('Continue').after().addClass('fa fa-chevron-right');
but, iwant to get the result like below image 2
Original button code:
<button type="button" class="btn btn-success next-step" id="contineButton">
${vo.continueButtonText} <i class="fa fa-chevron-right"></i>
</button>