Screenshots
|
|
|
|
Pagination |
Internationalization |
|
|
Rich format |
Text selection |
Source code download
There is a problem, which can be solved by experts, that is, they cannot support Chinese and do not know where to change it! Expectation
Complete demonstration of ASP + AJAX autocompant ASP
Download ASP + AJAX source code
Page turning and other scaling functions are being improvedCopy codeThe Code is as follows: for example, new CAPXOUS. AutoComplete ("wiki", function (){
Return "autocomplete3.asp? Typing = "+ escape (this. text. value );
});
Accept the value in asp.
Typing = trim (Request. QueryString ("typing "))
Then Query
Set Rs = Conn. ExeCute ("select ygbh, DW, ygxm from wuhen_t_yg WHERE ygxm LIKE '%" & typing & "% 'order BY ygbh DESC ")
This is the problem. The entered values in the address bar can be retrieved, but ajax cannot return values #
Copy codeThe Code is as follows: <script language = "javascript" runat = "server">
Function decode (str ){
Return unescape (str );
}
</Script>
Typing = decode (trim (Request. QueryString ("typing ")))