开发者

Get time value from textbox and perform calculations?

开发者 https://www.devze.com 2023-02-28 12:08 出处:网络
I\'m trying to retrieve a time value from a textbox and perform calculations on it. Use ca开发者_StackOverflow中文版se example: User inputted time (8:00 am) - (30 minutes)

I'm trying to retrieve a time value from a textbox and perform calculations on it.

Use ca开发者_StackOverflow中文版se example: User inputted time (8:00 am) - (30 minutes)

I'm getting the value by the getElementById method, but I am unsure how to make it read in a proper time format and do the calculations.

Could someone point me in the right direction, please?

0

精彩评论

暂无评论...
验证码 换一张
取 消