A Global Resource for Continuous Learning in PPMSubscribe Now

s2Member®
$(function() { $.urlParam = function(name){ var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href); return results[1] || 0; } if($.urlParam('lvl') == 1) { $('select#s2member-pro-paypal-checkout-options').find('option:nth-child(1)').prop('selected', true); }else if($.urlParam('lvl') == 2) { $('select#s2member-pro-paypal-checkout-options').find('option:nth-child(2)').prop('selected', true); }else if($.urlParam('lvl') == 3) { $('select#s2member-pro-paypal-checkout-options').find('option:nth-child(3)').prop('selected', true); } });