thanks i can only run html and javascript through it so need it to be pure html/javascript iv been looking around and it seems like every1 uses php all i need is basically a string with all the reference numbers in it, if someone enters a reference number thats in that string it should add / and the reference number to the end of www.scotttaylor1989.wix.com i just dont know how to add / and reference number to the current address im guessing something like
Code:
var website= www.scotttaylor1989.wix.com/authenticproducts
var ref= 123456789, 123123123, 123412341
so i need abit of javascript to check if the reference number is in var ref and if it is to add it to the end im guessing like this
Code:
var x= website + / + ref index 1
i just dont understand how to check if the reference number is there and how to add all the pieces of the url together
Basically i can only use html and javascript so is there a way to do this
Bookmarks