[jQuery] Finding a parent list item.

[jQuery] Finding a parent list item.


Hi everyone,
Imagine the following HTML scenario:
<li>
    <label for="title_new">Title</label>
    <div class="input"><input name="title_new" id="title_new"/></div>
</li>
<li>
    <label for="message_new">Message</label>
    <div class="input">
        <div>
            <div>
                <div>
                    <input name="message_new" id="message_new"/>
                </div>
            </div>
        </div>
    </div>
</li>
How could i modify the following jquery code so that it effects the
parent <li> and and not the parent node:
$(function()
{
$("fieldset").find("input,select,textarea,option").focus
    (function()
        {
            this.parentNode.className = "on";
        }
    )
    .blur
    (function()
        {
            this.parentNode.className = "";
        }
    );
});
I hope that makes sense.