0
good would like to know how to send a request to the database. in fact not a request but an insert for when I click on radio button
he insert the value of radio button
on the bench as I do this?
0
good would like to know how to send a request to the database. in fact not a request but an insert for when I click on radio button
he insert the value of radio button
on the bench as I do this?
5
1 - set for example an ID to your form
2 - Use javascript
$(".classeDoRadio").click(function(){
$("#idDoForm").submit();
});
guy but like I have the page that will make the insertion into the bank of the values of the radio button
I giving only Ubmit wouldn’t change anything as I can for that Ubmit call the insertion page and record in the bank? if I put action in the form it will occur all right? or not?
Browser other questions tagged php javascript jquery mysql
You are not signed in. Login or sign up in order to post.
what have you tried to do? post the code you have already tried to do
– Gabriel Rodrigues
I haven’t tried to do yet I wonder how it makes me start trying what I must do to make it happen that I want to know as soon as I know it I’ll start doing
– Leonardo Costa
Listen to the radio button click event. When the user clicks, schedule the sending of a form or make the request by AJAX.
– rodorgas
type I have the page of insercao ja in the bank there and I only program a function anonima on the radio button? calling this page he will insert?
– Leonardo Costa
See this code on Soen for you to have a notion.
– user28595
thanks guys I’ll try to do here
– Leonardo Costa