• 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...
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!