Hi All

When check box is checked i need to add some data into TextArea.when i
am Uncheck the check box remove that pericular check box data.here i
am using 7 check boxes.

Here i am facing the problem when i am un check the check box.


sample code for



var s:String ="";
if(chkbox.selected)
 {
   if(patientEncounter.cc!="" ||patientEncounter.cc.length>0)
   {
        s+= "<p><span fontSize='12' fontWeight='bold'>Chief Complaint</
span><br/>";

        s += "<span> :This is a"+age+"old"+ethnicity+"who presents with a
chief complaint of \"" + patientEncounter.cc + "\"</span> <br/>";
        s += "</p> ";
        soapS.editor.textFlow = TextFlowUtil.importFromString(s);
  }
}


when i am uncheck the checkbox i need to reomve the data from <p> to </
p>


thanks in advance

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to