Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery(function() {
- var amount = getURLParameter('amount');
- if (isFinite(String(amount))) {
- // Do allthethings here.
- }
- });
- function getURLParameter(name) {
- return decodeURI(
- (RegExp(name + '=' + '(.+?)(&|$)').exec(location.search)||[,null])[1]
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement