Since anionic dyes and surfactants abundantly exist in oily wastewater, both the separation of oil/water mixture and removal of low-molecular-weight pollutants are important to realize the advanced purification of water. By grafting poly(2-dimethylaminoethyl methacrylate) (pDMAEMA) onto polyethylene (PP) membrane via ultraviolet (UV)-initiated polymerization, the obtained PP-g-pDMAEMA membrane presented positively in water and negatively in an alkaline buffer (pH 9.0), respectively. Due to the switchable surface charge, the membrane had high emulsion separation efficiency and flux recovery ratio (approximately 100%). Besides, the dye (reactive black 5, RB-5) adsorption capacity reached 140 mg/m2 in water, and approximately 90% RB-5 could be released in pH 9.0. The anionic surfactant (sodium dodecyl benzene sulfonate, SDBS) was also reversely interpreted and released by the membrane via manipulating the ambient pH. The membrane constructed in this study is supposed to realize emulsion separation with smart cleaning capability, as well as the removal of dyes and surfactants, which could be utilized for multifunctional water purification.