Related Articles

More

Related Categories

More

Recently Added

More

Life Insurance Calculator

Billie Said:

Will it be possible to use VB 6.0 programming language for a hand-held calculator. ::: Manmadha Rao :::?

We Answered:

go ahead and write, its more like is VB compatible with most portable operating systems, but alright go head give it a shot....

Phyllis Said:

Is this really possible? Mutual funds vs Whole life insurance?

We Answered:

no it is not too realistic. 8-10% is about what you might actually expect. Call it 9%. $486,000.

Jacob Said:

I have a a term life insurance calculator?

We Answered:

I don't know of any site that lists all insurance companies off hand, you will want to probably start by looking at directories and look under their insurance category.
I work at www.elquote.com which is an insurance quotation website and agent referral network, I'd be interested in learning more about your calculator and maybe setting up a link exchange if your product met our guidelines.

Dianne Said:

Need help with JavaScript Code!!!?

We Answered:

Hello -

>> Ok, I am such a nOOb at Java,
Well, I know you meant javascript, but people will jump all over you if you confuse java and javascript because they are 2 completely different languages.

Just looking at the post - you'd want to not have it where you do:

</SCRIPT>
</HEAD><SCRIPT language = JavaScript>

You want to put it in your head section (btw, you might want to look at your markup - if you eventually want to go to xhtml, your tags would be all lower case). The closing head and script tags should not be there. You don't need a language attribute but you do need a type attribute on your script tag. So it should be something like:

<!DOCTYPE whatever your doc-type is....
<head>
<script type="text/javascript">
function myCalculator1 () {
... }
function myCalculator2 () {
... }
.....
</script>
</head>

<body>...
<form>
<input ...>
<input ...>
<input type="button" onclick="javascript:myCalculate1(); return true;">
<input ...>
<input ...>
<input type="button" onclick="javascript:myCalculate2(); return true;">
</form>
</body>
</html>

I know you're probably just testing, but you should clean up your markup. I'd get rid of the empty <p></p>, put all your attributes in quotes (i.e. <input type="text" name="answer" size="12"> ...), get rid of your <font...> tags and use css, etc, but that's not really your question.

I'm not looking at the javascript functionality itself - but you can put more than one function in a <script> </script>. You also shouldn't have to use 3 separate forms to calculate your intermediate numbers - and all your input type tags should be contained in a form element.

You can attach a click event on the button so that you call the appropriate javascript function to calculate that portion of your calculation. And you cannot have the calculate function defined twice (even though your using different variables in the calculation). What you'd want to do is define different javascript functions and use the onclick event to associate a particular button with it's associated function.

Hope this helps - I didn't even look at the javascript itself... You need to fix up the basics so it's easier for you to debug. If you haven't already - use firefox and the javascript debugger firebug when you do get going - you'll be able to see what's going on and learn alot from that as well...

Sam Said:

Does anyone know of a good objective life insurance calculator?

We Answered:

By asking you questions and looking at your complete financial profile, I could give you quotes that would be best for you and your family. The service would be complimentary.

Discuss It!