947740 Posted May 14, 2008 Share Posted May 14, 2008 I was doing some code last night that was very similar to this: <script language='javascript' type='text/javascript'> var a = document.theform.a.value; var b = document.theform.b.value; var c = document.theform.c.value; var s= a + b + c; </script> S, as you probably figured = abc. Alas, I cannot think of the solution right now, so any help would be appreciated, seeing as I cannot think very well this morning. Link to comment https://forums.phpfreaks.com/topic/105609-solved-a-b-c/ Share on other sites More sharing options...
947740 Posted May 14, 2008 Author Share Posted May 14, 2008 Aarrgh...all I needed to use was parseInt(); Link to comment https://forums.phpfreaks.com/topic/105609-solved-a-b-c/#findComment-541036 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.