<div id="menucart_content">{insert name="load_cart_index"} </div>
It doesn’t seem to be html syntax, the part inside {} may be codes in other languages.
It may be the content that will be replaced later. It shows the information of the substitute.
Some pages have things like {...} in them. These {...} will be replaced with js later.
{...} may function as a variable or an object placeholder
That is a template language.
insert should be a function, object method
{insert name="load_cart_index"}
It is just a text string compared to HTML
This code should be a template fragment under a certain framework
You need to read the instructions for use of this framework to understand the true meaning
Back to LS everyone, the main body of this system is written in PHP language. I found this sentence in an html file. It is indeed true in this system There are multiple classes containing insert methods. If I convert the above sentence into js language, can I write it like this:
$(menucart_content).html(对象.insert("load_cart_index"))
Reply to LZ You don’t have the code, how do I know?