I want to check the value of a drop down list and if the value is "" or NO throw a message and do not continue to open the popup window.. If it's value is YES then open the window. I'm passing a value from one form to another and want to add that check before opening the second window.
I'm opening the window using the following;
<script type="text/javascript">
function openRadWindow() {
var value = '<%= l2.Text %>';
var oWnd = radopen("MyForm.aspx?ID=" + value, "UserListDialog");
oWnd.center();
}
</script>
any help would be appreciated
Thanks
I'm opening the window using the following;
<script type="text/javascript">
function openRadWindow() {
var value = '<%= l2.Text %>';
var oWnd = radopen("MyForm.aspx?ID=" + value, "UserListDialog");
oWnd.center();
}
</script>
any help would be appreciated
Thanks