This code would add a "parse_int" method to an instance of jQuery, not the jQuery namespace itself. If the OP is looking for just a utility method, just remove the "fn" part.
↧