Earnie Boyd wrote:
I have a form in which after two fields (x and y) are entered I need default values for other fields on the form to be set. I have limited experience with javascript and none with jQuery. I have searched for examples but I can't find any for this scenario. Can someone please point me in the right direction?Not sure whether your issue is the this/then part of it, or the form part. Basically, to change the value of a form in javascript, you would use the form field id and do something like this:TIA, -- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/
var x = getElementById('formfieldid'); - where formfieldid is the id, then
x.value = newvalue;
