Indeed, a good example would be the best way to explain.<fieldset id="thefilter" class=" collapsible"><legend>Criteria</legend><div id=qz-criteria> <div class=qz-tablefield><div class="form-item"> <div id=h_table>Table</div> <div id=h_field>Field</div> <div id=h_value>Value</div></div> </div> <div class="qz-tablefield"> <div class="form-item"> <select name="table[]" class="form-select edit-table" id="edit-table[]" ><option value="0">Select a table</option><option value="1">incidents</option><option value="3">qualify</option><option value="2">technical</option><option value="9">criticalities</option><option value="5">groups</option><option value="7">origins</option><option value="6">positions</option><option value="8">priorities</option><option value="4">reasons</option><option value="10">status</option></select> </div> <div class="form-item"> <select name="field[]" class="form-select edit-field" id="edit-field[]" ><option value="0">Select a table</option></select> </div> <div class="form-item"> <select name="value[]" class="form-select edit-value" id="edit-value[]" ><option value="0">Select a field</option></select> </div> <div class=form-item><img src="/drupal/themes/test/pic/ico_proximo.png" id="new-criteria" border="0" align="absmiddle">New criteria </div> </div> </fieldset> the brighter blue, is the cloned in question. How to control the order it will be inserted/appended? the relevant jQuery is: $("#thefilter img#new-criteria").click(function(){ I think thats enough. I dont want to avalanche with irrelevant code. TIA!! Feijó Karl Swedberg escreveu: Hi again. :) |
- [jQuery] Appending content in order Feijó
- [jQuery] Re: Appending content in order Karl Swedberg
- [jQuery] Re: Appending content in order Feijó
- [jQuery] Re: Appending content in order Karl Swedberg
- [jQuery] Re: Appending content in order Feijó