Home > Web Front-end > JS Tutorial > jquery combines the code of C# background array to automatically add links to the keywords of the article_jquery

jquery combines the code of C# background array to automatically add links to the keywords of the article_jquery

WBOY
Release: 2016-05-16 18:04:31
Original
1065 people have browsed it

When we need to read multiple keywords in the background, we can first read the background database into an array (separate with "," when adding multiple keywords to the database):

Copy code The code is as follows:

public string[] str; //Add a public array and call jquery again
protected void Page_Load(object sender, EventArgs e)
{
string str1 = Keywords for reading the database;
str=str1.Split(',');
}
JQuery of the page :






<%=article%>



Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template