You are here: irt.org | FAQ | JavaScript | Link | Q394 [ previous next ]
If you use the following simple form, you can work out what the escaped name and value pair should be:
<form> Name: <br> <input type="text" name="inputn" size="60" value="parameter name"> <p> Value: <br> <input type="text" name="inputv" size="60" value="parameter value"> <p> <input type="button" onClick="this.form.output.value=escape(this.form.inputn.value) + '=' + escape(this.form.inputv.value)" value="Convert"> <p> Output: <br> <input type="text" name="output" size="60"> </form>
And you can then use this to hardcode your link urls, for example:
<a href="apage.html?parameter%20name=parameter%20value">a text link</a>