/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$(document).ready(function() { <?php if (isset($_GET["plan"])) { $finalPlan = $_GET["plan"]; } else { $finalPlan = 'A'; } ?> currentPlan = "<?php echo($finalPlan); ?>"; });