html forms crash IE 11

后端 未结 2 894
天涯浪人
天涯浪人 2020-12-19 17:01

I have the following code.

User fills and submits the first form. When he hits \"submit\" the data is stored in the db via websockets. At the same time , server ret

相关标签:
2条回答
  • 2020-12-19 17:27

    Does the following resolve the crashing behavior?

    document.getElementById("source").value=" ";
    document.getElementById("contr").value=" ";
    document.getElementById("source").value="";
    document.getElementById("contr").value="";
    
    0 讨论(0)
  • 2020-12-19 17:39

    How about instead of setting the "contr" and "source" .value property, try setting its .innerHTML property. I don't know if this will make a difference but...

    0 讨论(0)
提交回复
热议问题