I have a function where I am trying to get the username and password that the user entered. It IS being stored in "unixName" and "unixPass" on the client side. I have dUnixName and dUnixPass which one is a hidden input and the other is a label. They are different because I was playing around with different ways at getting this to work.
<script type="text/javascript">
// Internet Explorer/Firefox needs this script to show radio selection after Modal Popup
function enableRDO() {
document.getElementById("rdoUnix").checked = true;
// document.getElementById("dUnixName").value = document.getElementById("unixName").value;
//document.getElementById("dUnixPass").value = document.getElementById("unixPass").value;
document.getElementById('<%=dUnixName.ClientID %>').value = document.getElementById("unixName").value;
document.getElementById('<%=dUnixPass.ClientID %>').value = document.getElementById("unixPass").value;
return true;
};
dUnixNameis not available on the server at post-back?Init,Load, etc)?alert("...");calls in your javascript to prove that the objects are being found correctly? I can thoroughly recommend FireBug for FireFox or use the developer tools under IE or Chrome (F12 on both).