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=...
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...
I'm trying to store the value of the drop-down 'product' in a javaScript variable and then trying to use that variable in Python code in html view of Web2py framework to further create the drop down for the other component. I tried two di...
Rendering HTML from a python String in web2py  I am trying to render an anchor link in an html file generated server side in web2py  <a href="http://app/default/profile/">@username</a>   and the link generates correctly; however w...
i have a table with add/remove buttons, those buttons add and remove rows from the table, the buttons are also added with each new row  here what i have as html  <table> <tr>    <th>catalogue</th>    <th>date</th>...
I run a ajax call that updates interpolated value as a fully built selectbox element.  I would like to transform the created/returned selectbox into a chosen selectbox once it has finished fully loading otherwise it reverts back to a regular selectbo...
I have this code in html. It works just fine. However i would like the same code to work in web2py view. Please help me make it work in web2py considering there is a certain way of handling the source files in web2py. In my post.html layout view have...
I am trying to use AJAX and XmlHttpRequest to load a text file in web2py:  {{extend 'layout.html'}}  <span id="timer"></span> <script type="text/javascript"> var count=0; var counter=setInterval(timer, 250);...
Hi I am starting using web2py. I have a page web Test.html in view with a div: . On the other hand, I have a page web in the same folder: Test2.html with some code in python:  {{items = ['a', 'b', 'c']}} {{i=1}} <table>...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.