Writing text on “div” using JavaScript

后端 未结 10 2565
难免孤独
难免孤独 2021-01-04 02:11

I\'m having some trouble whenever I want to add some text to my div tag, here\'s my code:




10条回答
  •  灰色年华
    2021-01-04 02:29

    Or another option is to convert your submit into a button and take it out of the form, buttons can now exist outside of forms and from the code you pasted I don't see why you have to use a form, this will mean that your page isn't reloaded when you click on the "Ready" button.

提交回复
热议问题