Passing HTML input value as a JavaScript Function Parameter

后端 未结 7 1809
别跟我提以往
别跟我提以往 2020-12-13 15:52

I am new to JavaScript, and I\'m trying to figure out how to pass user-inputted values as a parameter to a JavaScript function. Here is my code:

         


        
7条回答
  •  情话喂你
    2020-12-13 16:23

    1 IDs are meant to be unique

    2 You dont need to pass any argument as you can call them in your javascript

    a:
    b:

提交回复
热议问题