Get the App
SLTechnology News&Howtos  ›  Development  › 

The effect of ajax page turning imitates how to realize the yii framework

Shulou Source: shulou.com Published: 2022-06-03 17:56:52 10月04日 Update

This article mainly introduces the ajax page turning effect to imitate the yii framework how to achieve, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.

Ajax paging function loadXMLDoc ($url) {var xmlhttp; if (window.XMLHttpRequest) {/ / code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest ();} else {/ / code for IE6, IE5 xmlhttp=new ActiveXObject ("Microsoft.XMLHTTP");} xmlhttp.onreadystatechange=function () {if (xmlhttp.readyState==4 & & xmlhttp.status==200) {var $data = $(''+ xmlhttp.responseText +'); / / alert ($("# updateId", $data). Html ()) / / document.getElementById ("myDiv") [xss_clean] = xmlhttp.responseText; $("# updateId"). ReplaceWith ($("# updateId", $data);}} xmlhttp.open ("GET", $url,true); xmlhttp.send () } id title time 2222222 2222222 1111111 1111111 2 Thank you for reading this article carefully. I hope the article "ajax page turning effect imitating how to achieve the yii framework" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Tags: Articles effects frames values interests at the same time time more friends titles knowledge editing industry information information channels channels references learning help support Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft NVidia Shulou Tech Info macOS Huawei