Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // The following goes in a Javascript widget:
- (function() {
- // fetch parameters from the URL:
- var queryParameters = jQuery.queryParameters();
- // set field values:
- jQuery('#some_field_id').val(queryParameters['field_name']);
- })();
Add Comment
Please, Sign In to add comment