Is Jquery / Ajax secure?

Is Jquery / Ajax secure?

Is Jquery / Ajax secure?

If i need to validate a password using Ajax. Will anyone be able toe read the sql using firebug.
I need to find a way to do it secure.

Thanks