I wasn't looking for a way to create python to replace javascript. Sorry if
it came across that way. I was more into looking a way to call existing
javascript.jquery using normal python syntax from web2py. But its probably
not possible. For example.,
<button type="button"
onclick="document.getElementById('demo').innerHTML = Date()">
Click me to display Date and Time.</button>
<p id="demo"></p>
Instead of that.
{{python_button_program}} -> and it will execute the javascript routing
like an executable.
I am not very familiar with javascript. Thats why I asked. I guess, I will
just need to learn and get used to it.
On Wednesday, March 25, 2015 at 7:13:09 PM UTC-4, Carlos Zenteno wrote:
>
> So what is the "the direction web development is taking though"?
>
> Everything in Javascript?
>
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.