Create a dynamic (table) in the form with applet JAVA or JS

I want to create a dynamic table which contains fields then to introduce it into Form as being a form of entered for a view . Can I do that with JS or by an applet JAVA and is what it can have problems if I execute that on a Notes and the Web if you know examples which make similar tricks or you can help me by consultings don’t hesitate

Thank you…