Hi, I am using Modal Windows to input data for certain stores. Once data entered it is stored in sql table. When I close the modal window and I open it again it does not return the databack. The problem is that it is not querying it right
function openModalWin(Mode)
{
sku = frmNewRequest.sku.value;
qty = frmNewRequest.qty.value;
store = frmNewRequest.dropStore.value;
if ( sku != "" && qty != "" && !isNaN(qty) && !isNaN(sku) && qty > 0 )
{
window.showModalDialog('Distribution.aspx?Store=' + store + '&Sku=' + sku +'&Qty=' + qty + '&Mode=' + Mode,'null','width=520,height=500,top=10,left=10,status=no,toolbar=no,menubar=no,location=no,scrollbars=yes');
return false;
}
}
Does anyone know any problem with modal dialog window?
function openModalWin(Mode)
{
sku = frmNewRequest.sku.value;
qty = frmNewRequest.qty.value;
store = frmNewRequest.dropStore.value;
if ( sku != "" && qty != "" && !isNaN(qty) && !isNaN(sku) && qty > 0 )
{
window.showModalDialog('Distribution.aspx?Store=' + store + '&Sku=' + sku +'&Qty=' + qty + '&Mode=' + Mode,'null','width=520,height=500,top=10,left=10,status=no,toolbar=no,menubar=no,location=no,scrollbars=yes');
return false;
}
}
Does anyone know any problem with modal dialog window?