It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center。
已关闭8年。
如果这是一个n00b的问题,请原谅我,但是如果鞋子合适,我只需要穿上它即可。我想说的是,请缓慢输入,以便我接听您所放的内容。
我读过这样的话:
What is ".el" in relationship to JavaScript/HTML/jQuery?
但这并没有帮助我(以及我目前在学习曲线上的位置)。
我也尝试过谷歌搜索,但似乎并没有发现太多。也许我没有使用正确的关键字?
相当于
请注意,Laconic Plugin不是jquery的本地插件。
已关闭8年。
如果这是一个n00b的问题,请原谅我,但是如果鞋子合适,我只需要穿上它即可。我想说的是,请缓慢输入,以便我接听您所放的内容。
我读过这样的话:
What is ".el" in relationship to JavaScript/HTML/jQuery?
但这并没有帮助我(以及我目前在学习曲线上的位置)。
我也尝试过谷歌搜索,但似乎并没有发现太多。也许我没有使用正确的关键字?
最佳答案
它只是添加到jquery的一个插件,可帮助您轻松制作DOM。
然后
$.el.table(
$.el.tr(
$.el.th('first name'),
$.el.th('last name')),
$.el.tr(
$.el.td('Joe'),
$.el.td('Stelmach'))
).appendTo(document.body);
相当于
$('body').append("<table><tr>
<th>first name</th><th>last name</th>
</tr><tr>
<td>Joe</td><td>Stelmach</td>
</tr></table>");
请注意,Laconic Plugin不是jquery的本地插件。
关于jquery - 什么是el/element?如何使用?又为什么呢?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/12229848/