New User Registration using Ajax-a good or bad idea?

Is it a good/bad idea to register new users to database (i.e register new users) using Ajax requests? Will I face any problems? Why? Why not?