help me plz: button one click django(disable the submit button )

Visto 216 veces
Saltar al primer mensaje no leído

hanin guesmi

no leída,
18 jun 2021, 22:44:3918/6/21
a django...@googlegroups.com
Hi 
i am trying to disable send data when click in the second time in the button
my template.html
 <form method="POST" enctype="multipart/form-data" id="id"
      {% csrf_token %}
      {% bootstrap_form form %}
   
 <div><button type="submit" id="btnSearch">submit</button></div>                                       
         </form>  

Garanti sans virus. www.avast.com

DJANGO DEVELOPER

no leída,
18 jun 2021, 23:58:4518/6/21
a django...@googlegroups.com
you can apply javascript to perform this action.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABqiOL-3gAqMUry0k8P7__naavRT6d-jPvVobiJNvq91dvGbyA%40mail.gmail.com.

hanin guesmi

no leída,
19 jun 2021, 7:59:3519/6/21
a django...@googlegroups.com
I. Tried many codes but not working 

vvk

no leída,
19 jun 2021, 8:19:0019/6/21
a django...@googlegroups.com
Hi all pls make one Wtapp group or Instagram group  bevause mail box not sufficient to solve 

--

Prasad Ajmire

no leída,
19 jun 2021, 8:19:0419/6/21
a django...@googlegroups.com

Kasper Laudrup

no leída,
19 jun 2021, 15:43:5719/6/21
a django...@googlegroups.com
On 19/06/2021 13.58, hanin guesmi wrote:
> I. Tried many codes but not working 
>

Try a few more. You know how when you've lost something, you always find
it the last place you look?

It's the same with codes. It's always the last one you try.

Kind regards,

Kasper Laudrup

OpenPGP_signature

hanin guesmi

no leída,
19 jun 2021, 15:58:4519/6/21
a Django users
ok i will thnx

Kasper Laudrup

no leída,
19 jun 2021, 16:29:0419/6/21
a django...@googlegroups.com
On 19/06/2021 21.58, hanin guesmi wrote:
> ok i will thnx
>

You could spend the rest of your life doing that, so if you want someone
to help you, it might be a better idea to write a bit about what you've
tried, how it's not working etc.

Of course, that's completely up to you, but writing questions with a bit
of information usually helps getting closer to a solution and you might
end up learning something in the process.

Kind regards,

Kasper Laudrup

OpenPGP_signature
Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos