My laptop touchpad won't work when charging?

My charger hasn't given me any problems until yesterday. When I plug in my laptop charger, the touchpad won't work and I can't use my mouse. I can use this wireless mouse app on my iPhone though. I can use the keyboard and click the mouse buttons. It's just the touchpad. I have an Asus G51V.

Here is the support site for your Asus G51V. Http://service.asus.com/Default.aspx