Hai,
I have one label and button. when i click button, i need display button value into label
in same page without page reload in php
I will Try this
$(function (){
$(".1234").click(function() {
$(".123").toggle();
var CID = $(this).val();
$.ajax({
type: "POST",
url: "php/test.php",
data:{C_ID:CID},
success: function(data){
alert(data);
});
});
});
in test.php;
$id = $_REQUEST["C_ID"];
but i can't get the button value
plz help
3 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Kesavan KrishnanPosted May 30, 2017, 2:11 AM
snowal rajPosted Feb 10, 2017, 11:52 AM
Manas MohapatraPosted Feb 10, 2017, 1:48 AM