users to press an edit button to be able to modify the data. I do this
simply with the following code:
foreach ($this->view->form->getElements() as $item) {
$item->setAttrib('disable','disable');
}
I've been playing with dojo and was trying to figure out how I would do the
same thing. I think I would use dojo.query and .attr("disabled",status));
but I'm not sure how or where to do this.
Thanks in advance, Jim
--
View this message in context: http://www.nabble.com/How-do-I-Dojo.query-to-disable-dojo-form-elements--tp20662313p20662313.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论