I've got 4 div columns which are Sortable. I want to create a portlet and append it to a specific column.
The current code I have is:
<div class="column" id="ToDo">
<h1>TO DO</h1>
<div class="portlet" id="1">
<div class="portlet-header">Item 001</div>
<div class="portlet-content">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit
</div>
</div>
</div>
<div class="column" id="InProgress">
<h1>IN PROGRESS</h1>
</div>
<div class="column" id="InReview">
<h1>IN REVIEW</h1>
</div>
<div class="column" id="Done">
<h1>DONE</h1>
</div>
Can someone please show me how I can append a new .portlet
in #ToDo
?
I want append this html
<div class="portlet" id="12">
<div class="portlet-header"> NEW ITEM </div>
<div class="portlet-content"> SOME STUFF </div>
</div>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.