Skip to content

Instantly share code, notes, and snippets.

@mbeale
Created March 20, 2013 19:08
Show Gist options
  • Save mbeale/5207507 to your computer and use it in GitHub Desktop.
Save mbeale/5207507 to your computer and use it in GitHub Desktop.
Alter expiration fields Recurly.js
Recurly.buildSubscriptionForm({
/* other options */
afterInject: function(){
$('.month select').val(2); //month
$('.year select').val(2016); //year
},
});
@bhelx
Copy link

bhelx commented Jun 22, 2016

This has changed significantly since this was posted. If you run into this gist, check the current documentation: https://dev.recurly.com/docs/recurlyjs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment