Skip to main content
Stack Overflow
  1. About
  2. For Teams

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Draft saved
Draft discarded
Cancel
10
  • 1
    I would suggest reading the web2p documentation before proceeding with your app. Commented Nov 8, 2016 at 12:56
  • Hello Anthony, thanks for the reply. I am doing both reading the documentation and coding the app, but I just don't have a good memory to retain all the information. I can retain the workflow of a web2py, but I still forger some technical aspects in the code. Your reply in my previous thread was very useful. It solved my problem Commented Nov 8, 2016 at 18:39
  • 1
    I still need help. How do we use rows in javascript? Commented Nov 8, 2016 at 19:47
  • @Anthony I actually need to get the element "task" from the table and put it in a li.innerhtml in javascript – Commented Nov 8, 2016 at 20:25
  • I think you're misunderstanding how the templates work. All Python code (i.e., inside the {{...}} delimiters) gets executed on the server before the page is delivered to the browser. So, your Python code cannot interact with Javascript code (which is executed in the browser after the full page has been processed by web2py). In other words, you cannot have a Python loop that runs some Javascript code within the loop. You will need to explain in more detail what you are trying to achieve. Commented Nov 8, 2016 at 20:56

default

AltStyle によって変換されたページ (->オリジナル) /