Jump to content

w3examples


smiles

Recommended Posts

normally , w3 examples have a button named " edit the text and click me " , that a submit button and it posts the content in form to the right page ( written in asp and I think that code in it is Request.Form ...)but with this example http://www.w3schools.com/html/tryit.asp?fi...ryhtml_redirect we have no need to click that button , so by which way the right page can feel the code of refresh in left page :)

Link to comment
Share on other sites

there is a need for it. having the ability to edit the page allows you to experiment with the length of time that passes before the refresh takes place.it also allows you to change the target of the refresh if you like to.

Link to comment
Share on other sites

there is a need for it. having the ability to edit the page allows you to experiment with the length of time that passes before the refresh takes place.it also allows you to change the target of the refresh if you like to.

yeah yeah , if you say that , I will temporarily accept that when the example page is load , the button is clicked simutaneously :( and if someone tell me that the button automatically be clicked after 5 seconds , I will believe it :) but we know it ' s not true in fact :)
Link to comment
Share on other sites

yeah yeah , if you say that , I will temporarily accept that when the example page is load , the button is clicked simutaneously  :D and if someone tell me that the button automatically be clicked after 5 seconds , I will believe it  :) but we know it ' s not true in fact  :(

'Ok if the button were taken out how would you update the code??? It is there so you can modify the code then click that button to run the modified code.It is the same as all the other examples you can experiment with!!! :)
Link to comment
Share on other sites

'Ok if the button were taken out how would you update the code??? It is there so you can modify the code then click that button to run the modified code.It is the same as all the other examples you can experiment with!!!  :)

:) we know that the right page didn't do nothing unless we click the button to submit , so when we first link to that example page http://www.w3schools.com/html/tryit.asp?fi...ryhtml_redirect , the right page haven't done nothing yet so it can't refresh the page ??? and it can't feel the presentation of the refresh code on left page ???you understand what I means :(
Link to comment
Share on other sites

I do not understand what you mean...

<meta http-equiv="Refresh"content="5;url=http://www.w3schools.com">

This will cause the page to refresh automatically, whether you push the button or not, 5 seconds after the page loads.The 'Edit the text and click me' button is only needed if you decide to play with the code and then want to run the code.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...