Skip to content
Advertisement

checkbox print custom array E.g. if chooses Mon, Wed, Fri, Sat, Sun

I have checkbox like this:

enter image description here

E.g. if chooses Mon, Wed, Fri, Sat, Sun. return Mon, Wed, Fri – Sun

E.g. if chooses Sat, Sun. return Sat – Sun

E.g. if chooses Mon, Tue, Thu, Sat, Sun return Mon, Tue, Thu, Sat, Sun

How can I implement that? Is this possible?

JavaScript

Advertisement

Answer

this is function in javascript

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement