I think u mean
$('<div id="arrow"> </div>').insert...
Question
I'm trying to add an arrow button on each image on this Wordpress page;
http://storyville.jonmarkoff.com/storyvillewp/our-work/
by using this code;
$( "#arrow" ).insertAfter( $( ".youtube_gallery_player a" ) );
But it doesn't seem to be working.
I'd appreciate your help.
Solution
I think u mean
$('<div id="arrow"> </div>').insert...
OTHER TIPS
Change your css from a # (which is an ID and unique) to a class (.arrow). Usage would be something like:
$( ".arrow" ).insertAfter( $( ".youtube_gallery_item" ) );