How to return the response from an asynchronous function?

Pls. correct this HTML?

  • <html> <head> <title>Measurement Conversion Utility: Result</title> <style> body, h1, p {text-align: center} </style> </head> <body> <p> <h1>Measurement Conversion Utility</h1> <% sub Write (s) Response.write(s) End Sub sub Break(N) Dim counter for counter = 1 to N Response.write ("<br/>") Next End Sub Function Centimeter (n, fromUnit) Select Case fromUnit case "mm" Centimeter = n/10 case "cm" Centimeter = n case "dm" Centimeter = n*10 case Else Centimeter = 0 End select End Function Function Centimeter (n, fromUnit) Select Case fromUnit case "mm" Millimeter = n case "cm" Millimeter = n*10 case "dm" Millimeter = n*100 case Else Millimeter = 0 End Select End Function Function Decimeter (n, fromUnit) Select Case fromUnit case "mm" Decimeter = n/100 case "cm" Decimeter = n/10 case "dm" Decimeter = n case Else Millimeter = 0 End Select End Function Dim measurement Value Dim ConvertFrom, covertTo measurementValue=(Int(Request.form("me… ConvertFrom=Request.from ("convertFrom") ConvertTo=Request.form ("convertTo") Write(measurementValue & " " & convertFrom) Write("is equal to") Select case convertTo case "cm" Write (centimeter(measurementvalue, covnertfrom)) case "mm" Write (millimeter(measurementValue, convertFrom)) End Select Write (" " & convertTo Break(z) %> <a href="" onclick" history.back(); return false;> back </a> </p> </body> </html>

  • Answer:

    No.

Ammonium... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.