Reputation: 1451
i have a button in html...
<div id=":ne" class="T-I J-J5-Ji ar7 nf T-I-ax7 L3" role="button" tabindex="0" aria-expanded="false" style="-webkit-user-select: none; " aria-haspopup="true"> <span class="Ykrj7b">More</span> </div>
now i want to append a button after this button.plz help
Upvotes: 0
Views: 133
Reputation: 87073
var button = $("<button>Hi there</button>");
$(button).insertAfter('#:ne');
or
$('#:ne').after(button);
Upvotes: 1