Why a SELECT in a cloned DIV has a wrong behavior when refreshed?
问题 I'm using the .clone() function of jQuery Mobile to clone a div in a form so I can have repeatable sections, but now I have a problem with nested selects. Once the div is cloned and the nested selects are updated with the new id, something strange happens after the next 'refresh'. What happens is very strange, the select just double and place itself inside the existing select, so the result is this: The browser is Safari, I've not made any test with other browser because I only need this code