Hi,
I've created a webpage where the user can enter an number/word into an address bar and it would appear somewhere else on the page - I also have back and forward buttons on the page (similar to a browser). But whenever i click the back or forwards button, instead of the last inputted number/word being popped back I get all of the words/numbers that have been inputted during that session. Anyone see where I'm going wrong?
...
User Profile
Collapse
-
Push - Pop stack problem
-
I did try to use that '\n' but it didn't seem to work, maybe I put it in the wrong part of my code? I also tried to use CSS to do it but that didn't work either.
My code so far:
...Code:function Go_Go(){ var input1=navigation.url_out.value; url1.push(input1); navigation.url_out.value=navigation.url_in.value; -
Textarea content
I have a function on my webpage that inputs content into a textarea. Everytime a button is clicked the information is inputted into the text area. But I'd like to change the format of how it is entered into the textbox. What I'd like to know is, is it possible to have each new input on a new line rather than all being on the same line. like this:
1
2
3
4
5
etc...
Rather than it being...
No activity results to display
Show More
Leave a comment: