Functional polymers bear specified chemical groups, and have specified physical, chemical, biological, pharmacological, or other uses. To adjust the properties while keeping material usage low, a method for direct synthesis of functional polymers is indispensable. Here we show that various functional polymers can be synthesized by in situ cross-linked polymerization/copolymerization. We demonstrate that the polymers synthesized by the facile method using different functional monomers own outstanding pH-sensitivity and pH-reversibility, antifouling property, antibacterial, and anticoagulant property. Our study opens a route for the functionalization of commodity polymers, which lead to important advances in polymeric materials applications.