This topic is locked

Javascript on Load Compare Two Fields

9/25/2012 6:16:27 AM
PHPRunner General questions
C
ckapote author

Hi ,
I have following fields on a form :
field1 field2 and field3
i need the script to check on the fly and if field1>field2 then field3=field1 and if field1<field2 then field3=field2
can someone help ?
thanks

C
cgphp 9/25/2012

You can learn javascript step by step following a tutorial: http://www.w3schools.com/js/default.asp

Do the same for jquery: http://www.w3schools.com/jquery/default.asp
Of course, reading the phprunner user manual is a must: http://xlinesoft.com/phprunner/docs/javascript_api.htm
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=67920&image=1&table=forumreplies' class='bbc_emoticon' alt=':rolleyes:' />