Uncaught TypeError: Cannot set property 'value' of null

前端 未结 8 952
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-05 07:58

I\'m trying to pass the entered text to the controller using an ajax request. But i\'m getting athe error \"Uncaught TypeError: Cannot set property \'value\' of null \" whe

8条回答
  •  醉话见心
    2020-12-05 08:35

    h_url=document.getElementById("u") is null here

    There is no element exist with id as u

提交回复
热议问题