A versatile method for fabricating ion-exchange hydrogel nanofibrous membranes with superb biomolecule adsorption and separation properties.