What happens if the action field in a <form> has parameters?

前端 未结 4 1713
予麋鹿
予麋鹿 2020-12-01 10:14

Is there a well-supported, common behavior that I can expect if I do something like this in HTML:

4条回答
  •  执笔经年
    2020-12-01 10:46

    Not sure, but I think it's better practice to place those variables in hidden input fields. This way it doesn't matter if your posting method is either POST or GET.

    
      
      
      
      
    
    

提交回复
热议问题