How to disable the CalenderDateInput.js control in my jsp page?

Posted on 2008-10-01
Last Modified: 2012-05-05

In my jsp page, i am calling CalanderDateinput.js , for showing the current systemdate , i want that to be non-editable . i mean, the user should not edit that. So how can i make it non-editable, just make it readonly? any ideas?

Question by:jyothisree
  • 2

Expert Comment

ID: 22619585
What does your code look like?
LVL 25

Accepted Solution

Tomas Helgi Johannsson earned 500 total points
ID: 23119740

If you want the CalendarDateInput.js still generate the date then
you could either make the input field where the date is written to hidden or dissabled

Otherwise if you want to get rid of the .js file you simply use another method to generate the
systemtime and put it into an hidden field on the server side.

  Tomas Helgi

Expert Comment

ID: 25459682
I respectfully object to a "Delete with no refund" on the grounds that TomasHelgi actually made a valid expert comment that may have actually worked for the user.

I think a "Forced Accept" with TomasHelgi getting the points is more appropriate.

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There is no doubt that cloud is gaining importance. Many of you must have read about this technology and its growing importance. More and more organisations are embracing this technology not forgetting start-ups. The process begins by dipping …
Note: This is the second blog post in a series on email clearinghouses (   Every month t…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now