Templates expand into html. So you just write javascript like you normally
do. You call javascript from within your templates by using something like:
Here, I am using {% load static %}
Sincerely yours,
Joel G Mathew
On Tue, 30 Apr 2019 at 12:05, Mayur Bagul wrote:
> Thanks Ahmed,
>
>
Hi,
Have a look at this
https://stackoverflow.com/questions/298772/django-template-variables-and-javascript
There are also several tutorials in youtube as well.
On Mon, Apr 29, 2019 at 1:03 PM Mayur Bagul wrote:
> Hello Community,
>
> Im looking for solution on Button Event.
Thanks Ahmed,
can you please provide me resource to learn how to use java script and
events in django Templates?
Because im not getting proper resource how to use java script in django.
Actually on one web page there will be one button after clicking on that
button i want to merge another web
Hi Mayur,
I'm not sure what you mean by "there is no javascript in django" because I
use it all the time. JS is not tied to Django in any way since its
operations are usually client-side and so it can be used inside your Django
templates.
In any case, you can have JS code in your template inside
Hello Community,
Im looking for solution on Button Event.
I have situation like mention below :
i have one button check temperature. after clicking on it; it should
display dummy temperature on template from view.py i wrote.
but im not getting how i can do this because there is no javascript
Russell Keith-Magee wrote:
> Can you make the button an inside a action="myurl" method="post">, where myurl is either:
I would say GET here is better instead of POST. Because it's not
changing anything.
--~--~-~--~~~---~--~~
You received this message because
Better to have multiple DIVs and bring up a new DIV dynamically based on the choice.This little "AJAX" way is quicker and cleaner.When you talk about data table...do you mean large data grid with inital form requiring base input range and selection criteria, theĀ the user clicks submit and a large
On 8/31/06, frank <[EMAIL PROTECTED]> wrote:
This is clearly not the "Django way", but is there some way in whichthis might be accomplished?Can you make the button an inside a , where myurl is either:
1) the location you want the button to go to, or 2) a URL that will redirect based on which
This may seem perverse, but I'd like to redirect to a new page from a
button event rather than the usual clicking on a link. Essentially,
the user is presented with a table of items, each of which has an
associated radio button. At the bottom (or top) of the table is a
series of buttons
9 matches
Mail list logo