How to show an alert after reloading the page in JavaScript?

前端 未结 5 917
栀梦
栀梦 2020-12-31 07:31

I am trying to make alert box after page reloaded, but it doesn\'t work.
Please correct my code and tell me why?

$(\"button\").click(function(){
    wind         


        
5条回答
  •  -上瘾入骨i
    2020-12-31 08:32

    Some dirty method of doing it with ?reload string in link href like request.GET in php

    reload and alert
    
    

提交回复
热议问题