If I remember correctly, the correct tag for a button is [obviously]
<button>, no <buton> (please see the missing T).

El jue., 14 jun. 2018 a las 0:14, Asif Khan (<[email protected]>) escribió:

> No I am not using JS capturing for any kind of actions. where as my other
> form button are working.
>
> On Thursday, June 14, 2018 at 2:14:48 AM UTC+5, Asif Khan wrote:
>>
>> I am having amazing problem in my django template. Button does not
>> respond on pressing click on it. It works when I press return key. code is
>> following.
>> {% extends 'vtapp/baseapp_layout.html' %}
>>
>> {% block head %}
>> <title>Vehicle Vegilince - Customer Search</title>
>> {% endblock %}
>>
>> {% block content %}
>> <h3>Enter Customer information</h3>
>> <form method="post" action="{% url 'vtapp:vtsearch' %}">
>> {% csrf_token %}
>> <div class="form-group">
>> <div class="col-lg-5">
>> <input type="text" name="custsrh" class="form-control" placeholder="Enter
>> CNIC / mobile phone">
>> </div>
>> <label class="col-lg-2">
>> <buton type="submit" class="btn btn-danger">Search</buton>
>> </label>
>> </div>
>> </form>
>>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/5f518cba-fcdc-4b2a-9f75-fad87b0e3cd0%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/5f518cba-fcdc-4b2a-9f75-fad87b0e3cd0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Fidel Leon
[email protected]
Phone: +34 622 26 44 92

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHXg%3DN10d1-vfh38-DoEpQrp8Xegv70%3DZh25E%2BbtHQTP253xBg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to