I'm trying to pass the value of textbox1 to the onclick
line of code as part of the url string
I can't seem to get it to work. Can an help. Thank You.
line of code as part of the url string
Code:
<script type="text/javascript">
function doAlert() {
var targetElement = document.getElementById("TextBox1");
}
</script>
Code:
<a href="#" onclick="window.open('randys2.aspx?sid=**NEED Textbox1 value here**','g','width=800,height=600');return false;"> (view)</a>
I can't seem to get it to work. Can an help. Thank You.