Hi,
I'm using a basic login script to control access to a page.
This is my script (in the head tag):
<script language="javascript">
<!--//
function dbLogin (form)
{
if (loginform.login.value=="dashboard") {
if (loginform.password.value=="PsWd123") {...
Is it possible to convert a number that is being read in as a string in order to compute the total value? Basically I need to add up the values, then convert the total value back to string.
I can't find any conversion functions in texts nor online.
Thanks
I have to process a data file that looks pretty ugly, in other words a record has data on multiple lines. I need to skip lines to retreive the information I need.
I've used so many different combinations of if statements and while loops, but nothing worked.
If this sounds trivial to you...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.