www.webdeveloper.com
Results 1 to 6 of 6

Thread: How to "over-write"

  1. #1
    Join Date
    Nov 2013
    Posts
    15

    How to "over-write"

    Is there any way to over-write a previous line with html?
    What I want to do is to have a line that says "Waiting" and then overwrite that line when the thing I'm waiting on finishes. Seems simple yes? (Or I could have a timer and overwrite with the new time every second or so.)

  2. #2
    Join Date
    Mar 2011
    Posts
    1,109
    All of the effects you describe will require JavaScript. You can't do it with just HTML and CSS.

    But you're correct that it's not terribly difficult. If you search on "JavaScript" along with a short description of the task you're trying to accomplish, you'll probably find several examples. Good luck!
    Rick Trethewey
    Rainbo Design

  3. #3
    Join Date
    Nov 2013
    Posts
    15
    This used to be simple - just use a carriage return with no line feed but that doesn't work with html. Isn't there a way to produce that effect. I tried back spacing also - doesn't work.

  4. #4
    Join Date
    Nov 2013
    Posts
    15
    I tried searching JS, but the best option I could find involves "onload" which doesn't work with <table>.

  5. #5
    Join Date
    Nov 2013
    Posts
    34
    You can do it with Javascript and also can get the task done with Jquery, just Google for it.

  6. #6
    Join Date
    Nov 2013
    Location
    new york
    Posts
    53
    Quote Originally Posted by zron View Post
    Is there any way to over-write a previous line with html?
    What I want to do is to have a line that says "Waiting" and then overwrite that line when the thing I'm waiting on finishes. Seems simple yes? (Or I could have a timer and overwrite with the new time every second or so.)
    There are many java scripts you can find as open source.
    Try these links you may get some help:
    http://stackoverflow.com/questions/1...other-function
    http://forums.devshed.com/javascript...ed-664972.html

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles