Opportunity Creation href="http://www.baidu.com" target="main">Opportunity View
Click on opportunity creation, and you will still be redirected to Baidu.
Reply to discussion (solution)
How did you write it
Test as follows
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" ><html xmlns= "http://www.w3.org/1999/xhtml" ><head><meta http-equiv= "Content-Type" content= "text/html; charset=utf-8" /><title>无标题文档</title><script >window.onload= function (){ var oA=document.getElementById( 'test' ); var oBtn=document.getElementById( 'btn' ); oBtn.onclick= function () { oA.href= 'http://www.163.com' ; } }</script></head><body><a href= "http://www.baidu.com" id= "test" >测试</a><input type= "button" value= "改变" id= "btn" /></body></html>
|
Copy after login
Me I redeployed it, and it worked. Intermittent failure, sometimes just restarting myeclipse works, sometimes it still doesn't work, sometimes it gets better after a while. Originally, the URLs were all set to Baidu. Later, when I changed them one by one as needed, the changed URLs would still jump to Baidu. Thank you