Universal search bar (support display template, pageless refresh)

xiaoxiao2021-03-06  36

di

Need a collection of many functions, so I do this. .

Oh, maybe you will feel that the method is stupid, but it is really easy to use, but you can use simpler methods, don't need so many search form data, but this is more impaired, it is beautiful. .

// // support universal search bar template, no page refresh // Author: World Kid twt326@163.com// reprint or modify Keep the original copyright, thank you

// This page is used to generate search form data, or you can make a function or class.

tag {body1} represents the search box {body2} represents the search for small classification, such as the WMV WAV MP3, etc. in the music {fenlei} represents the big search Categories: web page music pictures, etc. * / $ SMB [1] = '

{forms}
{body1} {body2}
< TD> {fenlei} '; $ SMB [2] ='
{forms}
{body1} {fenlei}
{body2} ';>