I have a site that I inherited. Is uses ASP and AJAX.
The page has a field that when changed will impact a calculated value.
There are functions to recalculate each time the page loads.
I could just ask the user to refresh but they get the dialog box "retry etc...."
So I would like to use Onclick to retrieve the same page.
The page needs an argument to return the correct record.
I can't get the correct syntax and could use some help!
The page is accessed in 2 ways so the following gets the record ID:
RecordID = TRIM(request.querystring("
id")) <!-- First try to read the URL -->
IF LEN(RecordID)<1 THEN
RecordID = TRIM(request.Form("issue")
) <!-- Next try reading from the POST -->
The button code follows but does nothing
<button type="button" name="Reload" onclick="window.location.h