Redirecting after form submission with user input in the URL

后端 未结 3 958
轮回少年
轮回少年 2021-01-03 17:14

I need to have a form that when filled out will create a variable and then goto a url with that variable in the url.

Something like this (but that works) :)

3条回答
  •  佛祖请我去吃肉
    2021-01-03 17:39

    Different from 1st. No form needed, add an attribute named 'id' for the textfield,then defined a javascript function to retrieve the value of textfield,then do the jump, Hope usefully.

    Number:

提交回复
热议问题