hafiz432 Posted December 17, 2018 Share Posted December 17, 2018 My Question is very simple that how can I know that which button is clicked on the previous page that the new page in opened. how to get the id of that element in PHP apart from the form because I used the buttons without form. Quote Link to comment Share on other sites More sharing options...
Barand Posted December 17, 2018 Share Posted December 17, 2018 Perhaps you could post your code to show us what you are doing Quote Link to comment Share on other sites More sharing options...
ginerjm Posted December 18, 2018 Share Posted December 18, 2018 "buttons without form"? So - are these anchor tags that look like buttons? Because without a form how does one get a true button element to trigger your script? Assuming that your reference to 'button' really means and anchor (<a>) tag which uses the href attribute to startup your script, any value that you need in that script could be passed as part of the referenced url. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.