I am working on a website that, when loaded, it displays the compiled image from an HTML canvas element. My problem is that I can't tell when an image is loaded to draw it to the canvas or how to force an image to be loaded before I proceed to th...
I see some relevant posts to my query.  Tornado is used in the below link How to pass variable from python to javascript  I know that it can be done using json but I am not clear how to implement it. In the web2py default controller I am returning a...
I'm doing a Pyjamas example and get this error:  TodoApp InternalError: too much recursion   Here is the significant portion of TodoApp.py from the linked tutorial (please ignore indentation from the copy/paste):   class TodoApp: def onModuleLoad...
I'm currently having an issue with getting javascript and python to communicate in web2py.  controller:  def testDB():         a=[]         a.append('a')         a.append('b')         a.append('c')         return dict(m=a)...
I am having a big problem. I have the following tables  db.define_table('post',                 Field('user_email', default=auth.user.email if auth.user_id else None),                 Field('title', 'string', requires=...
I am developing a web browser application where the user must upload a image file to a web2py server.   I am using the traditional way for file input, which, in the iPad, gives the option to either upload an existing picture or take a new one from th...
I am using Raspberry Pi to function as a mini web server. At first, i came across web2py and started to learn it. It was tough for a beginner like me. Later, a friend in a forum introduced CherryPy to me and i started to work on the web application...
I have a more special question.   It is really simple to display an image in an html tag. I have done it by returning the sql file in a dict to the same named html file, which embed it in the tag with the following code:  <img width="400px"...
usI have some html with an onSubmit:  <form id="login_box" onSubmit="alert('{{=T('Thank you for contacting us! We have received your email and will contact you shortly.')}}'); this.submit(); this.reset(); return false;&...
I have a website.  It has two pages.  pg1 is just for me to work with jsTree in a simple environment.  Things are working fine here.  pg2 is the production application. Here is where I am having this issue.  The same code is in both pages and jsTree...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.