you can check with javascript alert whether functions are being called properly.
then you can put print statement in the
servlet to check whether request is coming upto servlet or not.
go step by step and check where is the problem.
I think type of http request would be "GET" not "get".