.click() only firing once then no more after that unless i refresh the whole page and doesn't render at all if i call $(document).ready()

后端 未结 2 1318
野趣味
野趣味 2021-01-27 01:50

I am trying to retrieve a quote and its author from a JSON file, the problem I am having is that once I click the button once, then the event is fired but only once and no more

2条回答
  •  遥遥无期
    2021-01-27 02:43

    Few changes in your script and its done.

    
    
    

    Example Fiddle

提交回复
热议问题