other than mis spelling of "length" there is nothing in code provided that anyone can help with
best suggestion is to use a logging console like Firebug to see if the selectors you are working with have ID's. There is no way for us to know what goStart() does or where this ajax call fits into anything else in your code