I am finding it difficult to perform a search operation on a html button event in Django.
My project is having a mobile database i am trying to search a mobile.
I am finding it difficult to perform a search operation on a html button
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Suppose you are having a button with id=”resume”, then you can invoke a particular Django view using the following sample code:
And the example view function in views.py:
The above code also needs jQuery library in your HTML code.