Created
January 25, 2011 16:38
-
-
Save jamesarosen/795175 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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']); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment