PASS VARIABLE FROM HTML PAGE TO TABCONTENTS PAGE

HOW CAN I PASS THE PRODUCT ID FROM PRODUCT VIEW PAGE TO NEW PAGE WHICH IS OPEN BY ONCLICK EVENT

  • Ishwar
  • 30 Apr 2026
  • 2357 Views
  • 9 Answers
Your Answer

There are multiple ways of doing it
1) If you are working with php-The $_POST or $_GET array might be having the value which you need. You need to specify the name of the elements
2) Th easiest way is by using Javascript
I hope this will help
https://developer.mozilla.org/en-US/docs/Learn/HTML/Forms/Sending_forms_through_JavaScript
 

Javascript

Didn't get the answer.
Contact people of Talent-Javascript directly by clicking here