【发布时间】:2014-01-23 15:51:19
【问题描述】:
假设我有一些这样的 HTML:
当心!在Jade
p Dear Lorem ipsum,
p Lorem Ipsum is simply dummy text of the printing and typesetting
input(type="text", placeholder="phone/mail")
| on [HERE]
input(type="text", placeholder="date")
| and identified the debt as [HERE]
input(type="text", placeholder="lorem")
| . bled it to make a type specimen book. It has survived not only five centuries, but also the leap into.
p dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknow
input(type="text", placeholder="mediums of communication", value="Messaging Service")
| den-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites
p Thank you for your cooperation.
p Sincerely,
button#send(value="submit")
我将如何在 $("#send").click 上收集所有段落,以便将输入很好地滑入其中。
例如,我想知道如何编写一个将上述所有内容作为输入和输出的函数:
[
"Dear Lorem ipsum,",
"Lorem Ipsum is simply dummy text of the printing and typesetting 555-1234 on [HERE] some date and identified the debt as [HERE] this is inputted text. bled it to make a type specimen book. It has survived not only five centuries, but also the leap into.",
"dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknow this is an inputted medium of communication den-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites",
"Thank you for your cooperation.",
"Sincerely"
]
【问题讨论】: