Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

enable disable the dojo time tag in struts2 jsp

 
vikas byn
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<sx:datetimepicker name="fromTime" disabled="true" type="time" displayFormat="HH:mm:ss">

how can i enable above tag.
 
vikas byn
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<sx:datetimepicker name="test" />

I try that..
document.getElementsByName("dojo.test")[0].removeAttribute("disabled");
document.getElementsByName("test")[0].removeAttribute("disabled");


but its not working fine...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic