JQuery append function to append button after a button -


i have 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 want append button after button.plz help

var button = $("<button>hi there</button>");     $(button).insertafter('#:ne'); 

or

$('#:ne').after(button); 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -