1. #1
    Sencha User
    Join Date
    Jan 2011
    Location
    Rotterdam
    Posts
    25
    Vote Rating
    -1
    wawrek is an unknown quantity at this point

      0  

    Default form submit returns "Uncaught SyntaxError: Unexpected end of input"

    form submit returns "Uncaught SyntaxError: Unexpected end of input"


    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

  2. #2
    Sencha User
    Join Date
    Jan 2011
    Location
    Rotterdam
    Posts
    25
    Vote Rating
    -1
    wawrek is an unknown quantity at this point

      -1  

    Default


    it's fixed

  3. #3
    Sencha User
    Join Date
    Dec 2010
    Posts
    15
    Vote Rating
    2
    dmassiani is on a distinguished road

      0  

    Default


    hello,
    how have you fixed this error ?

    thanks
    David

  4. #4
    Sencha User
    Join Date
    May 2009
    Location
    Douvrin, France
    Posts
    41
    Vote Rating
    0
    Erwan62 is on a distinguished road

      0  

    Default


    Hello,

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

Similar Threads

  1. Uncaught SyntaxError: Unexpected token :
    By kathir in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 4 Aug 2011, 4:03 AM
  2. Uncaught SyntaxError: Unexpected token
    By jaquin in forum Sencha Touch 1.x: Discussion
    Replies: 6
    Last Post: 3 Feb 2011, 4:48 AM
  3. Replies: 10
    Last Post: 2 Jan 2011, 4:52 PM
  4. Ext.Button vs <input type="submit" name>. Need POST variable
    By mikhailt in forum Ext 2.x: Help & Discussion
    Replies: 11
    Last Post: 10 Dec 2010, 8:09 AM
  5. textField.setId("id") in a form sets id to "id-input"
    By jackielii in forum Ext GWT: Discussion
    Replies: 2
    Last Post: 6 Dec 2009, 9:54 PM

Thread Participants: 2