How to Add/Append content(div/img tag etc) for a div using Jquery

the barber shop

New Member
How to Add/Append content(div/img tag etc) for a div using \[code\]Jquery\[/code\] i want it to insert in "#contentSlider" \[code\]$('#slider').after('<div id="nav" class="nav">').cycle({ fx: 'turnUp', speed: 'fast', timeout: 0, pager: '#nav' });\[/code\]HTML\[code\]<div id="slider"> <div id="banner1" class="slider"> <div class="contentSlider"> </div> </div></div>\[/code\]
 
Back
Top