Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strange behavior

Status
Not open for further replies.

durug

Technical User
Mar 22, 2002
335
CA
Hi everybody!

I have on my asp - report page a button that is calling the bellow listed function and resubmits the page. Every time depending on some values selected in a combobox the page is showing other information.

function Send()
{
document.frmMain.action = 'reportfailureFG.asp'; //same page
document.frmMain.method = 'POST';
document.frmMain.actionpage.value = 'Bring'
document.frmMain.submit()
}

everything works fine, but from time to time ( ~ 3 time cycle) the page is blank. Completely blank. If I refresh the blank page then the report information appears again.

Do you know the reason?

If I look in the source code of the blank page I have only
&quot;<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;><HTML><HEAD><META http-equiv=Content-Type content=&quot;text/html; charset=windows-1252&quot;></HEAD>
<BODY></BODY></HTML>&quot;

Thank a lot,
Durug
 
Your code sems to be OK as from the source code which you has given .. there are &quot;</BODY></HTML>&quot; tags which meanes that there was no problem in processing the code .. u might have problem in the processing the page itself .. ( i mean the logic which u have written to gt the page)

regards,
Srinu...
 
It there would be a problem processing the page, then when I would refresh the page I would get the same problem, right?
But if I refresh it, the page displays the requested information.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top