![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
What I want to do is that variable is increased every time button is pressed (and, of course, that increased value is displayed than at screen, so it could be increased again) |
#2
| |||
| |||
|
|
What I want to do is that variable is increased every time button is pressed (and, of course, that increased value is displayed than at screen, so it could be increased again) See <http://www.jibbering.com/faq/#FAQ4_15 document.write() and document.writeln() if used after the page is loaded *clear* the entire content of the page (including any script). So the only time and place they don't do that is at the moment of the arrival, so you can use them is the original page body, so your page could self-adjust depending on the place of the arrival. P.S. Rather difficult to express it clearly in human words, is it? From my experience it usually means that there is something wrong with the concept itself (?). I would let people simply do: someHTMLObject.write(hewHTMLContent); What a hey difference anyway from: someHTMLObject.innerHTML = hewHTMLContent; At least the consistency would be kept. |
![]() |
| Thread Tools | |
| Display Modes | |
| |