Hi all.

I'm building a website about Fibonacci for school, So I want to put a calculator that will show all lucas numbers or fibonacci numbers as for the user's decision.

I've made the design and everything and now i just need it to work, but I'm pretty lame in javascript(mainly studying C#,this is just a side project) so I'd like to get some help.

first we can't use recursion cause we didn't learn yet,so I figured a way to calculate the numbers using no recursion,I'll write it when some 1 comments so You could say if It's the most effective way :S

anyway these are the buttons/textbox etc that I have:

Radio buttons:

1 for lucas numbers and 1 for Fibonacci numbers.

Buttons:

Show, clear.

Text Boxes:

from N=:

to N=:

and a big text area underneath.

now few questions and problems:

How can I through a function send messages to the text area?

how can I ,using the function of calculating the numbers ,get the values of initial and final index? Aren't they string? anyway how can i Send them to the function? can some 1 show me how the topic of the function will look like?

Thanks in advanced for Every one really!

I will need alot of help.

Thanks,

JC