Thank you Darius,
The code is working when I am using it as MDR-TB module's intake form.
Darius, now the event is calling but I am trying to disable an element but
this isnt not working.
Following is the code ..
-----------JavaScript Section----------------
$j("#tar").change(function() {
$j("#target").attr("disabled", true); //-->> Here is the problem. This is
not being called
window.alert('Handler for .change() called.'); //-->> This is working
});
});
---------------HtmlFormEntry Code -------------
<obs id="tar" conceptId="143264" labelText="Cough"
answerConceptIds="1065,1066" answerLabels="Yes,No"/>
<obs id="target" conceptId="1071" labelText="Cough Type"
answerConceptIds="5957, 1488" answerLabels="Productive Cough, Non-Productive
Cough"/>
Guidance required.
- Tariq Khan
_________________________________________
To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to
[email protected] with "SIGNOFF openmrs-implement-l" in the body
(not the subject) of your e-mail.
[mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]