tags:

views:

46

answers:

1
+1  A: 

Change your change function (sorry couldn't resist) to accept a parameter that tells you whether to clear fields or not.

RWGodfrey
How? Can I pass the parameter via the trigger at all?
GSTAR
Yes, the trigger method takes an optional second parameter that is a list of parameters to pass to the trigger method such as .trigger('change', ['arg1', 'arg2']). - "http://api.jquery.com/trigger/"
RWGodfrey