[jQuery] How calculate two fields
Hi
I have my form with value1 and value2 using:
'#attributes' => array(
'onchange' => 'value1(this.value);',
)
I dont need validate this form. Just Show results.
case value1="X":
result = 1000 * value2
break;
....
I am newbie in Jquery.
So How should I pick value1 and value2 and how I create my function
function result(value1, value2) {
I dont need validate my form just show result to my user "without user click in any button". Is it possible?
Regards
macm
<br clear="all">
--
Mário Alberto Chaves Moura
<a href="mailto:moura.mario@gmail.com">moura.mario@gmail.com</a>
31-9157-6000
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/