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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

While it may be true that the internet is a place of possibilities, it is also a hostile environment lurking with many dangers. By clicking on the wrong link, trusting the wrong person or using a weak password, you are virtually inviting hackers to …
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

733 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