How it works?

As the $.empty() function in the "Text related" section, this will empty elements. But this function have a specific goal: emptying <input> elements. You just have to give it an input and it will empty it.

How to use it?

Let's show you how to empty an input:

HTML:

<input type="text" value="I'll be empty">

JS:

$.empty($.select("input"))

⚠️ Questions?

Don't hesitate to ask your questions ⁉️ in the issue part 😁

results matching ""

    No results matching ""