Jump to content
  • 0

HTML Button change colors based on Date



Hi Guys,

hope someone can assist me with this.

I'm creating a Html page which has 3 buttons. Each button has a redirect link to a sharepoint page which contains excel sheets, word files stored in it.

I require a code for the buttons which can change based on data availability on sharepoint in this Html page.

For example if my system date is 9/24/2019 and if any file is available on sharepoint link with same date information the button color changes to green and if not then red,

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...