in reply to Can't call method "value" on an undefined value at X??
I think problem lies with get and post method...Just make sure that other hidden values are also passed while posting the request.