[whatwg] Opera, repeats, remove, move-up, and move-down

Elliotte Harold elharo at metalab.unc.edu
Tue Mar 6 13:00:31 PST 2007


I've been able to get Opera 9.1 Mac to display repeating groups with 
markup like the below. Furthermore I've been able to get it to add new 
items to the repeat. However, I haven't been able to get it to remove or 
move a repeat item. The buttons show up but they're disabled.

Is this just an Opera limitation for the time being or am I missing 
something?

<div id="observation" repeat="template" repeat-start="5">
   <label>Species:
     <input type="text" name="species[observation].name" value="" />
   </label>
   <label>Count:
     <input type="number" min='1'  value=""
            name="species[observation].number" />
   </label>
   <button type="remove" template="observation">Delete</button>
   <button type="move-up" template="observation">Move Up</button>
   <button type="move-down" template="observation">Move Down</button>
</div>
<div><button type="add" template="observation">Add Species</button></div>


-- 
Elliotte Rusty Harold  elharo at metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/



More information about the whatwg mailing list