Home > front end >  Django front-end ajax
Django front-end ajax

Time:11-01

Front page with a table, every time take the data from the background, ajax is additional, how do you write to avoid additional (except for loop)??



CodePudding user response:

You can define a first in the click event var boxHtml="inside the circle splicing +=finally in class/id/label $(" # box"). The HTML (boxHtml)

CodePudding user response:

After click post before each time to empty the first node content
$(" # bacj "). The empty ();
  •  Tags:  
  • Ajax
  • Related