Results 1 to 4 of 4

Thread: Help on adding +1 to each day

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2010
    Posts
    87

    Help on adding +1 to each day

    I am working on an HTML project that displays a field with a number in the field by each day. What it does is start at 0 on day one. Each day it adds a 1 to the field. Day 2, the field would say 1, then day 3 would say 2, and so on. I am not sure how to approach this. This is also displayed in an HTML format. So is the best method to pull the VB code in somehow to the html field? or is xml the best method? Regardless, just need some help in writing the code and adding it to the html. Thanks in advance.

  2. #2
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,289

    Re: Help on adding +1 to each day

    Is it a web page you're working on?
    Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
    - Abraham Lincoln -

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2010
    Posts
    87

    Re: Help on adding +1 to each day

    yes. I don't care how it works as long as it works LOL. I can make it work in excel but when I convert it to HTML the forumlas don't work. So I didn't know if there could be something written in html or VB and then pull it into the site.

  4. #4
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,289

    Re: Help on adding +1 to each day

    You need to use javascript if the page is plain html page. If it is an active server page then you simply set the value on the server side.
    Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
    - Abraham Lincoln -

Posting Permissions

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



Click Here to Expand Forum to Full Width