It seems that my site doesn't do the ajax call. Which it used to do before i modified my code, but i'm not sure what i did. The function call is correct as it does the first alert. Is it my syntax that is wrong? or am i missing something. Im fairly new to JS as well.It seems that my site doesn't do the ajax call.