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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to