Help with code

Written by  on March 8, 2018 

I'm trying to put together a code where script is run from another page based on the parameter, example:

  • sitename.com/sitepage?script1 > This would run script in script1.php
  • sitename.com/sitepage?script2 > This would run script in script2.php
  • sitename.com/sitepage?script3 > This would run script in script3.php
  • Etc (if nothing than run nothing)

Code:
<script>
$(document).ready(function () {
  var scriptLocation =...

Help with code

Category : Uncategorized

Leave a Reply

Your email address will not be published. Required fields are marked *