php - how to ajax GET data on already data that received as ajax -
Hello friends, sorry if my question is tired.
This is my problem.
is a simple search bar that lists the records matched in Ajax, i.e. personal details.
To show the complete database information of specific fields from the database with the save record, there is a field called "see more" here I get the results to get the ID values to get on your anchor tag GET I am using
So my question is how to use more links as an AJAX request to get results.
You have to make an AJAX call and the ID will show details. One approach would be
Now in JS
$ ('. Readmore'). ('Click', function (e) {e.preventDefault (); / / link to Href href = VAL = $ (this) .attr ('href'); // Request an acquisition Get $. Get ( LinkVal, function (data) {// Create some containers where you will display full details $ (".result") .html (data);});});
That's it, hope it will help you in the right direction and will point you to
Comments
Post a Comment