good eyes, i didn't close the a tag at first, but i did now and it still didn't work...
should i go back to using the button? if so, is there i can make it work using <input type=submit> instead of type=button?
thanks much!
Hi delpierro,
That onclick was for the image? This is what I had:
<a href="javascript:dbLogin(this.form)"><img src="images/submit.jpg" alt="" border="0">
I changed to:
<a href="javascript:dbLogin(this.form)" onclick = "loginform.submit()"><img src="images/submit.jpg" alt="" border="0">
I was...
Thanks that did work. The only thing is I need the button to be of type submit. Originally, I had an image instead of a button and I got a complaint that the user can't just hit enter so I'm switching to a button. Is there a way to fix that with the image?
Thanks stewart.
Hi bean1234,
Thanks for your reply. I changed the parameter name, but it still didn't work. You mean
onSubmit="dbLogin(this.form)"
CHANGE TO
onSubmit="dashboardLogin(loginform)"
right?
Does it matter that I'm working on a shared drive right now (this is my development environment) and...
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
The asset type and the product name are 2 different things. An annuity is an asset type. I retreive the asset type from a four digit ID code (0200). ABC and DEF are Annutiy products. 123 and 456 are plans under product ABC. There is no ID for the products and plans. They are strings.
I...
Its not always the third line.
The flow of my script is first I check if there is an R in the first field of the line, then check the type of policy and increment the count, then the product and increment the count, then the plan name and increment the count. Sounds simple enough if only the...
The "R" in front of an account number and the 4 digit asset type signals a new record.
A record can be 10 lines long. There can be many details. I'm interested in the line that contains the Product name. Furthermore I need the plan name too, but i need to conquer product name...
Sorry I made a mistake...
The file layout doc tells me that the name of a product is in detail record 2(which turns out to be the 3rd line) For An Insurance Product
It varies, either one or two lines.
I'm processing a file of accounts. I need to retreive the name of a product and plan. The file layout doc tells me that the name of a product is in detail record 2(which turns out to be the 3rd line), so the file looks like...
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.