Javascript; Sending user to another page

前端 未结 6 2090
情深已故
情深已故 2021-02-19 01:07

I am trying to send a user to another page using a Javascript Function:


<         


        
6条回答
  •  無奈伤痛
    2021-02-19 02:03

    window.location.href = url;

    It is ok for redirecting to the required url using javascript.

    The simple example can be found in this url

提交回复
热议问题