Jump to content

joecool2005

Members
  • Posts

    245
  • Joined

  • Last visited

Everything 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. joecool2005

    refresh page

    Anytime, when a user start a page, is it possible to refresh that page automatically?Thxjoe
  4. 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
  5. joecool2005

    expired page

    Hi,When people click "Back", is it possible to set the back page expired? How?ThxJoe
  6. Is it possible to detect if the user refresh the page?thxJoe
  7. 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
  8. I tried to use your code like this<%sub check(temp)dim varASPvarASP="abc"Response.Write(len(Trim(temp))&" "&len(Trim(varASP)))end sub%><script>var varJS="abc"document.write('<' + '%call check("' + varJS + '")%' + '>')</script> And nothing was displayed
  9. 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)))
  10. the length for "temp" is 9 and "varASP" is 3Also I tried with thisResponse.Write(len(Trim(temp))&" "&len(Trim(varASP)))same resultThx
  11. Hi all,When I execute this,<% sub check(temp) dim varASP varASP="abc" Response.Write(len(temp)&" "&len(varASP)) end sub%><script> var varJS="abc" document.write('<%call check("'&varJS&'")%>')</script> Why the length of "temp" and "varASP" are different?Thx for your helpJoe
  12. 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>
  13. Ok your code returned me 0.On my code when I do thisResponse.Write("<br>"&len(temp)&"<br>"&len(varASP)) it returns 9 and 3That's strange!
  14. Thank you for your help.It returns 1 when I do Response.Write(strcomp(temp,varASP))Do you know how to fixe it to make them equal?Thx
  15. 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
  16. 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
  17. 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
  18. Hi,I have a variable in JavaScript. Is it possible to pass that variable inside a ASP function?ThxJoe
  19. Hi,Is it possible to check the size of the file? How?Thx Joe
  20. Thank you guys!Both of them work very well!Joe
  21. 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
  22. Hi,How do you convert an integer to a string?thxjoe
  23. joecool2005

    round

    Hi,How do you round this number 23.8923451 to get 23.89?Math.round is not good. It gives 24ThxJoe
  24. Hello,When I used Server.CreateObject(progID), is it possible to determine if the object is created or not? Or if Server.CreateObject is failed or passed.Thx Joe
×
×
  • Create New...