Is 'disabled' a valid attribute for an anchor tag

前端 未结 6 511
傲寒
傲寒 2020-12-03 16:38

If I have the following simple code segment:

click me &
6条回答
  •  感动是毒
    2020-12-03 17:20

    no it doesnt work with the a tag you can use the jquery event.preventDefault() referance here

提交回复
热议问题