Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 819 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 819 Bytes

jquery-GrabGets

Grab and parse GET parameters from url and put, select and check elements of selected form

Requires jQuery v1.6 or later

DEMO

Capabilities:

  • Simple initialising

  • Supported all form's elements include multiple select list

  • Friendly with special and cyrillic characters

  • Work with same name inputs (exclude multiple selects)

Call:

$(document).ready(function() {
	$('SELECTOR OF FORM').grabgets({
	  hidden: false // do not replace values in hidden inputs (defaulth is true)
	});
});

==============

additional description (in russian): http://dontforget.pro/javascript/jquery-plagin-dlya-parsinga-url-stroki-s-get-parametrami-i-vstavki-znacheniy-v-formu/