Skip to content

Select radio and make an individual optional callback method

License

Notifications You must be signed in to change notification settings

mikeludemann/radioWithCallback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

radioWithCallback

In every situation then one radio are checked 'true' you can call an optional callback method.

JQuery is required.

Example


radioWithCallback(eventElement,callback);

With test parameter

radioWithCallback("input[name='currency']");

radioWithCallback("input[name='currency']", function(){

		alert("Hi");

	}

);

radioWithCallback(".currency");

radioWithCallback(".currency", function(){

		alert("Hi");

	}

);

About

Select radio and make an individual optional callback method

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published