javascript - concatinate text using insert after jquery -


i'm trying add "per person" after price on page, it's not working correctly.

so far have:

 window.onload = function per (){   $( "per person" ).insertafter( ".sqs-money-native" );   } 

any idea i'm missing?

$(document).ready(function(){     $( ".sqs-money-native" ).append( "per person" ); }); 

Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -