You also need to make sure that the plug will fit. There are lots of different proprietary laptop power connectors, some of which look very similar.
As AnyMal said, voltage must match exactly, and current (or power) must match or exceed the original PSU.