Thank you Darius,

I am using the following script for handling events, but the disable script
is not working.
I want to disable a combo box and I am trying hard but no success yet. 
Please guide ..

-----------JavaScript Section----------------

getField("tar.value").change(function() {

   $j('#target').attr('disabled', 'disabled'); -->> Not working. 

    window.alert ( getValue('target.value') ); -->> 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"/>

- 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]

Reply via email to