[jQuery] Weird Safari problem

[jQuery] Weird Safari problem


I am having an odd problem with Safari and hiding a collection of
elements. I'm using jQuery 1.1.2 until 1.1.3 reaches release
quality.
The situaition is as follows: There is a fieldset in a form for
filling out addresses. If the browser is javascript-capable then this
fieldset is hidden and some new ones generated. The first holds a
single input for a postcode, the second one will list the results of
the lookup, as retrieved by an AJAX query. The fields in the hidden
fieldset will be loaded with the correct values based on the result
the user clicks on and the fieldset will then be shown again filled
out.
During initialization my script generates the new fieldsets with
before() and text strings. It also adds some text links to the
existing fieldset with append() for navigating through the inserted
fieldsets. Only one of the 3 fieldsets (lookup, results, address
fields) will be visible at any one time.
I have some code that looks something like this in my javascript:
var address = $('#address');
address.before ('<fieldset id="lookup"><!--input fields-->

<a
class="gotoaddr" href="#">Enter address</a> <a class="gotores"
href="#">Go to results</a>

</fieldset>')
address.before ('<div id="results'" style="display:none;"><!--results--