How To Pass Object In Javascript Function. The correct way to do this would be to use http. One of Ja