1
Good morning, guys I have an onchange event in a select, I wanted to take the value of select and send to a php page.
$(document).on("change", "#doc_sel_clinic", function(){
var id = $(this).val();
$("#id_clinic_hidden").val(id);
console.log(id);
});
i need to send this id and pick up the php page to do a search for the data only by this id, use the codeigniter with friendly url.
I tried to pass via session to pick up with php and could not, what alternatives to do this?
thank you
"the purpose of the site is not to [...] give the code ready as it asks in this context" - You ;)
– LipESprY
Thank you, I did it this way. I received the success message but when I search in php it just show that it is empty. Thus array(0) { }. Someone knows what can be?
– jona1has
What is empty? What are you trying to access?
– Luiz Felipe