MCPcopy Create free account
hub / github.com/TruthHun/DocHub / radioGroup

Function radioGroup

static/Home/default/js/flat-ui.js:1545–1561  ·  view source on GitHub ↗
( radio )

Source from the content-addressed store, hash-verified

1543 }, 1 );
1544 },
1545 radioGroup = function( radio ) {
1546 var name = radio.name,
1547 form = radio.form,
1548 radios = $( [] );
1549 if ( name ) {
1550 name = name.replace( /'/g, "\\'" );
1551 if ( form ) {
1552 radios = $( form ).find( "[name='" + name + "']" );
1553 } else {
1554 radios = $( "[name='" + name + "']", radio.ownerDocument )
1555 .filter(function() {
1556 return !this.form;
1557 });
1558 }
1559 }
1560 return radios;
1561 };
1562
1563$.widget( "ui.button", {
1564 version: "1.10.4",

Callers 1

flat-ui.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected