Getting the values of textboxes in Javascript

前端 未结 6 1869
梦谈多话
梦谈多话 2021-01-25 03:41

I have this html code:

Song:
6条回答
  •  执笔经年
    2021-01-25 04:03

    Download jquery

    jQuery("input[name='song']").val()
    

    To try and resolve the argument below. This can be down with plain javascript as above but for simplicity and cross browser standardisation I would recommend jQuery. It is a widely used and generally highly recommended library.

提交回复
热议问题