How to disable a submit button after submission in PHP?

前端 未结 8 2092
耶瑟儿~
耶瑟儿~ 2021-01-27 08:21

I browsed through the other questions on this issue but couldn\'t find a satisfactory answer. I have a quiz website where the user selects an option from four options and then c

8条回答
  •  星月不相逢
    2021-01-27 08:31

    Try this. You might want to pass the value of each answer to a PHP file that performs backend work via AJAX.

    
    
    
    
    A
    B
    C
    D

    More info about jQuery's AJAX call here.

提交回复
热议问题