Skip to content
Advertisement

Passing parameter through “window.location.href”

JavaScript

At question.php file, I want to receive $q_id as $_GET['q_id']

Can I pass $q_id of line 17 to question.php page of line 26?

Advertisement

Answer

Just add it in as a query string in the javascript

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement