I have a form that allows the user to input multiple manufacturer part numbers, as I’ve found it’s necessary to input “alternate” mpns for certain product.
The MPN entries are made by entering the string then hitting enter(the form also passes the last string that gets entered even if you don’t hit enter).
I quickly found that it would be very useful to check these MPNs via jquery so I could save the user a lot of time inserting product details for an item that has already been inserted into the database.
Ok I understand now.
First you must use an ajax function to retrieve the data from the database.In this function you must set type:"POST.
Then you must create a new layer or modal to show you the incoming data over the page that MPV exist.
It is an alternative method that when you fill the MPV input then via PHP query to retrieve your data and then redirect the user in another page that ( Location: eg/ page.php) so then to manipulate the incoming data or results as you want.I think that in this case you must use $_SESSION global variable so to restore an manipulate the data between different files.