Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

[Added] JS nuSetDateValue()

Information about updates, news, Code Library
admin
Site Admin
Posts: 2829
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 30 times

[Added] JS nuSetDateValue()

Unread post by admin »

nuSetDateValue() populates an Input object with a date / (the current date) using the format set by format.

Examples:

Set today's date:

Code: Select all

nuSetDateValue('inv_date');
Set 2021-04-08

Code: Select all

nuSetDateValue('inv_date', new Date(2021, 04, 28));
Post Reply