2 Replies Latest reply on Feb 19, 2008 2:05 AM by satishreddy536

    clear on click

      am using a search field in my flex application
      i have given enter patient name in search field defaulty
      now i want when the user click on the search field it shud be cleared(i.e enter patient name shud be cleared)
      so user can enter his name or anything to search

      <mx:TextInput text="Enter Patient Name" id="searchPatientTI" click="clear()" />

      wat shud i write in clear method?