I posted this message earlier but was unable to log back in b/c of a registration problem. Not sure exactly what happened there. But I noticed that dotnet had responded but I was unable to view the response. So here it goes again…
I have some java script code that alerts the user if the did not enter a numeric value in the textbox. Underneath that I have the calculations that would determine the answer…
Like textbox1 = 10
Textbox2 = 10
Code textbox1/textbox2 = 10
Right now it will go through the code and if textbox1 is not a number…then the value for the calculations is NaN. Is there a way I can put a If statement using javascript around the calculations that states…if textbox1 and textbox2 is a number then compute else do nothing.
Thanks for any help
I have some java script code that alerts the user if the did not enter a numeric value in the textbox. Underneath that I have the calculations that would determine the answer…
Like textbox1 = 10
Textbox2 = 10
Code textbox1/textbox2 = 10
Right now it will go through the code and if textbox1 is not a number…then the value for the calculations is NaN. Is there a way I can put a If statement using javascript around the calculations that states…if textbox1 and textbox2 is a number then compute else do nothing.
Thanks for any help