Question: I want to make the length of one of my divs longer on a button click, however the jquery doesn't seem to be working. Here's the script.

```
<script type="text/javascript">
 $(document).ready(function(){

    function extendContainer() {
        $('#thisisabutton').click(function() {
            $('#one').animate({
            height: "200px"
            },
            300);
        });
    }

})
</script>

```

Here's the html, with the code for the button

```
<div id="div1" id="buttons" >
    <ul class="actions">
        <li><input id="thisisabutton" type="button" onclick="extendContainer()" onclick="loadXMLDocTraditional()" value="Traditional" class="special"/></li>
    </ul>
</div>

```

And here's the css just in case. 

```
#one .container {
        width: 50em;
        height: 22em; /* Height of the #one section*/
}

```

Answer: 
The solution you came up with yourself for now is the best what you could do.

We discussed whether we should expose any other API for singular backlinks, but as there is no way to enforce their multiplicity on the data storage layer, it didn't made sense so far. In addition, you would still need a wrapper object, so that we can propagate updates. For that reason a unified way to retrieve the value via `LinkedObjects` seemed to be the way so far.
What about specifiying the relation the other way around?

* Specify the connection on the 'one'-side
* Do a query in the getter on the 'many'-side:

So it should read like this:

```
class Child: Object {

    dynamic var name:String = ""
    dynamic var parent:Parent? = nil

}

class Parent: Object {

    dynamic var name:String = ""

    var children:Results<Child>? {
        return realm?.objects(Child.self).filter(NSPredicate(format: "parent == %@", self))
    }

}

```