Blog on Web Design, SEO, Marketing Optimization, Web Development, and Random Stuff by Mike Wagan
Showing posts with label JQuery. Show all posts
Showing posts with label JQuery. Show all posts
Wednesday, February 09, 2011
JQuery: How To Get URL Parameters & Values
While developing on a Drupal website, I was using the URLFill module to automatically fill in the form fields with some GET variables in the URL (something like http://example.com?var1=value1&var2=value2). For some reason it is not filling-up a Content Taxonomy field where the widget is set as autocomplete. So what I did was to implement the auto-filling of the said field with JQuery. This was the function I used:
Subscribe to:
Posts (Atom)