Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8617441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:51:32+00:00 2026-06-12T05:51:32+00:00

I am a newbie when it comes to javascript, I’m playing with different tutorials

  • 0

I am a newbie when it comes to javascript, I’m playing with different tutorials and trying to make my own simple things to get a better understanding of it all. Today’s learning is all about passing parameters through a function. What I would like to do is have a user fill a form in, submit those answers to variables in javascript and then call a function via an onClick event which will then display all the data entered into the form.

Firstly I hope this makes sense and secondly I hope that its the correct use of javascript, Im just trying to get a better understanding of passing params to be honest.

Could anyone advise any resources or point me in the right direction on where to get started with this small project

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T05:51:33+00:00Added an answer on June 12, 2026 at 5:51 am

    form elements are select, input, textarea.

    On form, add a submit event handler which does the following

    Using document.getElementsByTagName method, you can get a array of all such elements in the form.

    All these elements have a value property which will return the current value in it. Using this, you can create a string will the current data when form is submitted.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a total newbie when it comes to Javascript/jQuery so hopefully you can help
I'm a total newbie when it comes to Umbraco, and I'm trying to set
I'm still a newbie when it comes to javascript but I am having trouble
I am trying to get the Browser Viewport bay passing a Javascript Variable to
I am a newbie when it comes to trunk/branch so my question my be
I'm a complete newbie when it comes to HTML, I've never needed to do
I'm a total newbie when it comes to CSS so I've pretty much given
I'm a newbie when it comes to properties, and I read that XML is
I am a relative newbie when it comes to SQL Azure!! I was wondering
I am a newbie when it comes to using WinAPI. I am following a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.