Peter Flynn wrote:
> var viewData = { "username" : form.getChild("name").getValue()
>                  "date" : form.getChild("date").getValue() }

The correct syntax has a comma between the fields:

var viewData = { "username" : form.getChild("name").getValue(),
                 "date" : form.getChild("date").getValue() }


> I don't know the syntax of the registration.js file.

It's a language called JavaScript or ECMAScript.  You can find all the
documentation you need on Google or you can buy a book.


> Incidentally, the original var viewData line did not end with a
> semicolon. Should it?

It's optional.  
I never use it, but people accustomed to C/C++/Java seem to like it :-P


Toby

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to