PDA

Click to See Complete Forum and Search --> : Java script (last_day)


Sheikha
Aug 15th, 2005, 02:39 AM
hi:

im building a web based vb.net application. i want to write a javascript in teh html side. basically the user enters a date. it has to be end of the month. for example 31-jan-2005 and not 5-jan-2005. iof teh user enters 5-jan-2005, he should get an alert saying to enter teh date of end of the month.

in sql its like last_day(date). but how do i do it in javascript?

thanks

Hack
Aug 15th, 2005, 05:42 AM
Moved from CodeBank.

Sheikha
Aug 15th, 2005, 05:53 AM
i checked but couldnt find anything of relevance to my question.

DeadEyes
Aug 15th, 2005, 06:23 AM
Only allow the user to enter the month and year.

eyeRmonkey
Aug 15th, 2005, 11:54 PM
Sheikha,

Did DeadEye's suggestion help you?

Is so thats great. :thumb:

If not then can you explain how your interface is designed and why DeadEye's suggestion did not help? Thanks. :)