Take the battery out, plug in the charger and see if the laptop works.
If it works, the battery may be the problem.
Check the AC Adapter
Check to make sure the adapter is plugged securely into the wall outlet, connected firmly to the adapter box and to the back of your laptop.
Most AC adapters have a little light in themon that rectangular box in the middle of the cord that lights up when it's getting electricity.
If that light isn't on, try a different outlet.
Check your fuse or circuit breaker box and plug a different device into that outlet to make sure there is power to it.
If it still does not light up, your adapter could need replacing.
Also check the adapter box for signs of warmth, as it will generate heat when it's plugged in. No heat means no power.
Remove the Battery Sometimes it's as simple as a seated battery.
Remove the battery entirely and clean out any dust, lint or hair that may be clogging the connectors and preventing a proper connection.
Reseat the battery securely and make sure the little locking pins that hold your battery in place are securely fastened and there is no movement.
Fix a Broken Laptop Charger
If your laptop charger seems broken, it's most likely because the battery will not charge.
You plug in the cord, the lights come on, but the charging light doesn't change or blinks repeatedly.
When you remove the power cord, the laptop shuts off instantly due to the depleted battery. There's more than one cause for this, and it's not always a broken charger.
Check the connection between the charger and the laptop.
It should fit firmly in the DC jack without wiggling.
If it is loose, use electrical tape to hold it in place so the charger can receive power.
This is a temporary fix, however, because a faulty connection can create sparks and cause a fire or injury.
A loose connection will just get worse over time, so have it sent to a DC jack specialist as soon as possible.
Turn off the laptop and flip it upside down. Locate the latch that secures the battery and slide open.
The battery should pop out; give it a tug if it doesn't.
Apply a small amount of rubbing alcohol (Methylated Spirits)to the tip of a cotton swab and use it to clean the battery's connectors.
Dirt can build up and interfere with the connection, giving the appearance of a broken charger. Let the alcohol dry completely and re-insert the battery.
Slide the latch to secure it and plug in the power cord to test it.
See if the laptop powers on with the charger only and battery removed.
If it does, the battery is the likely culprit and should be replaced.
If the charger is truly broken, the only thing to do is to replace it or the power cord attached to it. Look on the bottom and write down the part number.
Call the laptop manufacturer for a replacement charger or search for the part number on eBay.
If you purchase from anyone other than the original manufacturer, ask for genuine parts to reduce the possibility of problems.
TroubleshootMag Safe adaptors
http://support.apple.com/kb/ts1713