I am creating a plugin in wordpress that is for the tournament sign-up. The form
submission part is running nicely. But my plugin also needs to show
the added entries below the form. So, I’ve inserted a ‘div’ below the
form where the entries should display.
I’m using AJAX for the whole process. I have added two buttons to show
the particular data, i.e Inter-Year button and Inter-Department
button. Since these two buttons are in the same form(with hidden field
value), so how does the onClick function works?
The buttons are working now because I’ve added them in different forms
and linked them to two different queries(WHERE tourn=’value’). Can I
do this with just a single query? if yes, then how?
Does jQuery takes different values for different submit buttons? How
does this work in a single form? So can I pass this value to a single
variable in a SINGLE function that runs the query for retrieving data
from the database?
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".