Maybe the following link might assist you:
If you just want to clear the text field, then maybe the below. Go for it.