Jump to content

joecool2005

Members
  • Posts

    245
  • Joined

  • Last visited

Posts posted by joecool2005

  1. On Internet Explorer, when you go on the menu tool->internet options, on general tab, "Temporary Internet Files" section and click "setting", some people set to "never".That means, the page will never be refresh.Is it possible to force the page to refresh with JavaScript ?Thx

  2. On Internet Explorer, when you go on the menu tool->internet options, on general tab, "Temporary Internet Files" section and click "setting", some people set to "never".That means, the page will never be refresh.Is it possible to force the page to refresh ?Thx

  3. When someone pay with a credit card, a confirm page will be displayed. Then, when they click back, I don't want them to pay one more time. I want to display a expired page or something else.thx for your helpJoe

  4. Is it possible to call a ASP function with onSubmit?I have tried like that and it did not work<%sub test() Response.Write("hello all")end sub%><FORM NAME="myForm" METHOD="POST" ENCTYPE="multipart/form-data" ACTION="" OnSubmit="<%call test()%>" > name: <INPUT TYPE="text" SIZE="40" NAME="key"><BR> INPUT TYPE=SUBMIT VALUE="Upload!"></FORM>thx

  5. Also did that way before and same result. But I noticed something strange.When you do both cases you will get different resultdocument.write('<%call check("'+varJS+'")%>')"temp" is 9 and "varASP" is 3document.write('<%call check("' + varJS + '")%>')"temp" is 13 and "varASP" is 3??????Both of them are used withResponse.Write(len(Trim(temp))&" "&len(Trim(varASP)))

  6. Thank you for your help.I tried to run your code and I got false. When I used the "len" function to verify, I got different length. It's weird!<%sub check(temp)dim varASPvarASP="abc"Response.Write(len(temp)&" "&len(varASP))end sub%><script>var varJS="abc"document.write('<%call check("'&varJS&'")%>')</script>

  7. When I do this, ----------------------------------------------------------------------------------<%sub check(temp) dim varASP varASP="abc" Response.Write(temp=varASP)end sub%><script> var varJS="abc" document.write('<%call check("'+varJS+'")%>')</script>----------------------------------------------------------------------------------Why it returns false when I compare varJS and varASP?Both of them are they string?ThxJoe

  8. Is it possible to pass a variable in Javascript to a ASP function?I want to do something like this.----------------------------------------------------------------------------------<%sub check(temp)Response.Write(temp&"<br>")end sub%><script>var varJS=123document.write("<%call check(varJS)%>")</script>----------------------------------------------------------------------------------I don't know how to pass a varJS to ASP subThxJoe

  9. Is it possible to pass a variable in Javascript to a ASP function?I want to do something like this.----------------------------------------------------------------------------------<%sub check(temp) Response.Write(temp&"<br>")end sub%><script>var varJS=123document.write("<%call check(varJS)%>")</script>----------------------------------------------------------------------------------I don't know how to pass a varJS to ASP subThxJoe

  10. Hi,I want to use history.back inside a link like this<script type="text/javascript">document.write("<a href=\"java script:void(0);\" onclick='history.back();'>Please try again.</a>")</script>But it does not work.How can I fix it?Thxjoe

×
×
  • Create New...