Twelve Years of Service
Posts: 26
Threads: 4
[Request] Calculator assistance? 05-30-2014, 05:57 AM
#1
I need to make a input box that when a calendar date is entered and ran will add 110days to the date and output the date 110days later. Any help would.be great as I am new to the forums. Dont know much about working with dates on a calendar so any help will do it can be in html or js dont want php or any other language.
“I am thankful for all of those who said NO to me. It’s because of them I’m doing it myself.” – Albert Einstein
•
Thirteen Years of Service
Posts: 504
Threads: 47
RE: [Request] Calculator assistance? 05-30-2014, 06:15 AM
#2
You'll need JavaScript for this, (html is not a programming language).
You just need to be a little creative with html input boxes.
I think this is what you're looking for: Input tags have the following attributes
type="date" (used for entering a date)
Button tags can have the following attributes:
onclick="javascriptfunction()"
In javascript, you can get the value of a input element using
tag.val()
Good luck!
•
Twelve Years of Service
Posts: 26
Threads: 4
RE: [Request] Calculator assistance? 05-30-2014, 11:58 AM
#3
Thanks I will.give it a shot based on my.knowledge
“I am thankful for all of those who said NO to me. It’s because of them I’m doing it myself.” – Albert Einstein
•
Twelve Years of Service
Posts: 26
Threads: 4
RE: [Request] Calculator assistance? 06-01-2014, 01:31 PM
#4
I know how to use html input in java just suck at dates in java. I need to be able to have my users to enter a date hit the button and it show the date 110days later.
“I am thankful for all of those who said NO to me. It’s because of them I’m doing it myself.” – Albert Einstein
•