|
Title: load form with a var Post by: Marco on November 14, 2014, 04:34:42 PM Hi !
J was wondering if it is possible to fill a text box in form with the value of another field j mean $('#ff').form('load',{ name:'name2', email:'mymail@gmail.com', subject:'subject2', message:'message2', language:5 }); can j change 'name2', with a var ? j need to fill the field name with the value of another field. J do hope is quite clear. Title: Re: load form with a var Post by: stworthy on November 14, 2014, 11:35:14 PM That is no problems, the code below also works well.
Code: var name = 'name2'; Title: Re: load form with a var Post by: Marco on November 15, 2014, 06:47:36 AM OK !
Thanks a lot. |