I was surprised to find that this function, phrased in this way, did not bring back plenty of posts with obvious answers.
Amanullah, a lot of the comments asks that you try for yourself first, because people normally do not like to answer questions that are google'able.
I was going to recommend the same, but when I did a search with your keywords, there were no obvious answers.
To serialize all your input elements, you can use:
$('form :input').serialize()
// creates a query string tb1=bob&tb2=smith
$('form :input').serializeArray()
// creates a JSON object [{name:"tb1", value:"bob}, {name:"tb2", value:"smith"}]
Note that those go by element NAME and not ID. Once your values are serialized, you can send them to the server. If you only want to grab textboxes, change your selector to $('form :input:text')