+ 1
How to show user searched id result of json data???
I am making a result showing web code. I am using json for storing data. I want to view user searched result . the code just like this json contains I'd,name,and mark of students. when user search his I'd it should show result of those I'd only. ex:user input 0001 as I'd no. output should be like this id:0001 name:yyyyyy marks:345 please help me to make this . solutions in jquery please.
11 Answers
+ 2
k
+ 2
I had delete that code b/c il stuck in this
+ 1
please tell me
0
Use jquery ajax
0
Reply for detailed ans about ajax
0
ok
0
can i tell you in after noon ?
0
Hello
0
can you show me your php code?
0
For your html page use,
$.ajax({
url:'php-script-url',
method: 'POST',
data:{
id: your_id
},
success:function(data){
var jsonData = JSON.parse(data);
// Do whatever with "jsonData"
}
});
0
Hope it works