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
Post a Comment