我使用Django的形式,并在页面加载WYSIWYM编辑器。问题是每个表单有4个wysiwym编辑器实例,并且页面平均可以有10-30个这样的表单。 {% for form in forms %}
<ul data-role='listview' data-inset='true' class='find_details'
id="find_details_{{ f
假设我有一组单词,不同的单词可能有不同的长度,我想按其长度组织它们。因此,稍后我可以通过给出长度参数来访问所有具有相同长度的单词。 words = Array.new()
#fill words by reading file
words.each do |word|
#add word to hash table, key is the length of this word