MrJody
0
Newbie Poster
Recommended Answers
Jump to PostYour quoting seems to be off. Try something like:
<script type="text/javascript"> function redirectUser() { var url = '<%= response.encodeURL("http://www.mysite/index.jsp?switch="+ intvariable) %>'; window.location.href = url; } </script> <!-- more code --> <input type="button" value="Copy" onclick="redirectUser();">
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.