Hi,
I have this javascript that returns what i want, now I want to use it within an a href tag, how do I call this? Does it have to be in a function and then call the function and if so, how do I make this a function? Sorry, newbie here...
I have this javascript that returns what i want, now I want to use it within an a href tag, how do I call this? Does it have to be in a function and then call the function and if so, how do I make this a function? Sorry, newbie here...
Code:
<script language="javascript">
var str = "<%currentrequest%>";
var tempStr = str.substr(str.indexOf("Params=") + 13);
document.write(tempStr);
</script>