[web2py] Re: conceptual error on model / view concept

2012-04-08 Thread Ken Olsen
That got me on the right track. Thanks! On Sunday, April 8, 2012 12:24:58 PM UTC-7, Anthony wrote: > > >> function serialRead() { >> var msg = "{{=serialRead()}}"; >> $('#console').append(msg); >> } >> > > You are attempting to mix Python (which runs on the server) with >

[web2py] Re: conceptual error on model / view concept

2012-04-08 Thread Anthony
> > > function serialRead() { > var msg = "{{=serialRead()}}"; > $('#console').append(msg); > } > You are attempting to mix Python (which runs on the server) with Javascript (which runs on the client). The above is a template that web2py converts into HTML and sends to t