I have this page admin_inquiry.php(page1) which has a dynamic table that shows rows of records.I want to get the values from 2 columns, ContactNo, and message. The contactno col
Approach 1 :
Use the Approach 2 : Set the href property of the contact No. element dynamically, using, say POST
method to submit the form. That way, you can query the Message element, pertaining the Contact No., depending on what name or Id you have given to the elements. (you have not given any yet).
jQuery
. Set the action attribute to a URL that includes both the ContactNo and Message as URL parameters
. That way you can access the message also from the GET
array just as you are doing with the Contact No. (Note : Not sure if long texts like message can be passed on as URL parameters, depends on the length, and may be security issues).