How to submit a user profile form through ajax?
Below module will help you

Modal forms (with ctools)


  Modal forms make use of the modal feature in the ctools module to open
  some common forms in a modal window.

Log in (modal_forms/nojs/login)
Request new password (modal_forms/nojs/password)
Create new account (modal_forms/nojs/register)
Contact (modal_forms/nojs/contact)
Comment (modal_forms/nojs/comment/reply/%node)
Webform (modal_forms/nojs/webform/%node)

  
  Function that rewrite normal links to modal forms links (except for
  webforms) can be activated on the modules configuration page