jquery insert after element edit button Edit

Murugan Andezuthu Dharmaratnam | calendar 15 September 2020 | 2372

how do i add an element right after another element using jquery? I have an ordered list below & I want to add 'world' right after hello.


if you use append it will append the element inside the li tag. the solution is to use jquery insertAfter


If you use the above code you will get the below output