View Single Post
  #1 (permalink)  
Old 2nd July 2009, 18:51
Lizeth Lizeth is offline
D4PHP User
 
Join Date: May 2009
Posts: 16
Lizeth is on a distinguished road
Unhappy How to clean a memo

Hi again, I have a form, with some edits, labels and a memo. Also I have 2 buttons, one that make the Register, and the other that Cleans.

If I fill in all the edits and the memo, and I press the button Clean, well it cleans fine, I have this lines:

var Dom = findObj("mmoDom");
Dom.value = '';

The problem is that the button Register, also have an event JSClick that evaluate if a data is not fill. When this event is executed, the memo that is supposed to be clear, automatically fills in with the lines that supposedly I’ve clean. I think the POST save the internally the value of the memo, but I need to completely clean the memo. How do I do that?

Thanks
Reply With Quote
Sponsored Links