joecool2005
Members-
Posts
245 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by joecool2005
-
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
-
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
-
Anytime, when a user start a page, is it possible to refresh that page automatically?Thxjoe
-
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
-
Hi,When people click "Back", is it possible to set the back page expired? How?ThxJoe
-
Is it possible to detect if the user refresh the page?thxJoe
-
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
-
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
-
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)))
-
the length for "temp" is 9 and "varASP" is 3Also I tried with thisResponse.Write(len(Trim(temp))&" "&len(Trim(varASP)))same resultThx
-
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
-
pass a variable from JScript to ASP function
joecool2005 replied to joecool2005's topic in JavaScript
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> -
pass a variable from JScript to ASP function
joecool2005 replied to joecool2005's topic in JavaScript
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! -
pass a variable from JScript to ASP function
joecool2005 replied to joecool2005's topic in JavaScript
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 -
pass a variable from JScript to ASP function
joecool2005 replied to joecool2005's topic in JavaScript
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 -
pass a variable from JScript to ASP function
joecool2005 replied to joecool2005's topic in JavaScript
Thank you very much -
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
-
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
-
Hi,I have a variable in JavaScript. Is it possible to pass that variable inside a ASP function?ThxJoe
-
Hi,Is it possible to check the size of the file? How?Thx Joe
-
Thank you guys!Both of them work very well!Joe
-
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
-
Hi,How do you convert an integer to a string?thxjoe
-
Hi,How do you round this number 23.8923451 to get 23.89?Math.round is not good. It gives 24ThxJoe
-
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