PDA

View Full Version : form submit returns "Uncaught SyntaxError: Unexpected end of input"



wawrek
10 Feb 2011, 1:03 AM
hello ,

I am working with sencha touch, I've created some forms which are supposed to update the content on my page and are appearing when the user touches the text.
when i press the submit button or press enter, the request is being sent to the server, however the success method is not being called (failure neither) and the browser returns this error:

"Uncaught SyntaxError: Unexpected end of input"

i checked my file and it seems to be ok. all curly braces seem to be closed.

here is a link to the function which is generating this error :
http://dpaste.com/hold/401432/

line 83: the form is created
line 36: titleFormSubmit() is a function which submits the form

best ,
wawrek

wawrek
11 Feb 2011, 4:40 AM
it's fixed

dmassiani
14 Oct 2011, 6:19 AM
hello,
how have you fixed this error ?

thanks
David

Erwan62
13 May 2013, 12:28 AM
Hello,

I have the same problem, how did you fix that ?