Your initial code does not work because you're using the wrong class name for the li selector. Your looking for class named "typeTextfield" but the actual class name in the markup is "typeTextarea".
An easier way, if the class is unique to that span, is to simply do this: