Javascript 我想让按钮在上次广播时转到新的一页

Javascript 我想让按钮在上次广播时转到新的一页,javascript,jquery,html,redirect,webpage,Javascript,Jquery,Html,Redirect,Webpage,观看实时代码 完全编码,根据另一个选项,我可以在重定向之前更改文本,可以不同于文本按钮的其余部分,可以添加并隐藏所有页面,并且仅显示在重定向之前的最后一页上 <p class="text" id="first_one"> <span>لقد تم دعوتك للدخول فى تحدى مع احد ابطالنا</span> <span class='poll'> <span> <input type="rad

观看实时代码


完全编码,根据另一个选项,我可以在重定向之前更改文本,可以不同于文本按钮的其余部分,可以添加并隐藏所有页面,并且仅显示在重定向之前的最后一页上

 <p class="text" id="first_one">
 <span>لقد تم دعوتك للدخول فى تحدى مع احد ابطالنا</span>

 <span class='poll'>
 <span>
 <input type="radio" name="radio" id="radio1" class="radio" checked/>
 <label for="radio1">1</label>
 </span>

 <span>
 <input type="radio" name="radio" id="radio2" class="radio"/>
 <label for="radio2">1</label>
 </span>

 <span> 
 <input type="radio" name="radio" id="radio3" class="radio"/>
 <label for="radio3">1</label>
 </span>

  <span>    
  <input type="radio" name="radio" id="radio4" class="radio"/>
  <label for="radio4">1</label>
  </span>
  </span>

  <br/><br/>
  </p>





 <p class="text" id="first_one">
 <span>لقد تم دعوتك للدخول فى تحدى مع احد ابطالنا</span>

 <span class='poll'>
 <span>
 <input type="radio" name="radio" id="radio1" class="radio" checked/>
 <label for="radio1">1</label>
 </span>

 <span>
 <input type="radio" name="radio" id="radio2" class="radio"/>
 <label for="radio2">1</label>
 </span>

 <span> 
 <input type="radio" name="radio" id="radio3" class="radio"/>
 <label for="radio3">1</label>
 </span>

  <span>    
  <input type="radio" name="radio" id="radio4" class="radio"/>
  <label for="radio4">1</label>
  </span>
  </span>

  <br/><br/>
  </p>

}))

用这个替换jquery

 $("#slider1next").click(function() {
        var $next = $(".text:visible").hide().next('p');
        $next.length ? $next.show() : window.location.replace('http://jsfiddle.net/');

    });

测试完成后是否需要消息?对吗?清楚地问你的问题?完全编码,在另一个选项上,我可以在重定向之前更改文本,可以不同于文本按钮的其余部分,可以添加并隐藏所有页面,并且仅显示在重定向之前的最后一页上redirect@YallaNsatrae尝试这一个…代码完全和另一个选项,我可以改变之前的文本重定向可以不同于文本按钮的其余部分,可以添加和隐藏所有页面,并且仅显示在重定向之前的最后一页上。是否要更改哪个文本?-下一个-更改下一个
 $("#slider1next").click(function() {
        var $next = $(".text:visible").hide().next('p');
        $next.length ? $next.show() : window.location.replace('http://jsfiddle.net/');

    });