This repository was archived by the owner on Jun 2, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
$.valEmpty()
Arthur Guiot edited this page Jul 7, 2017
·
1 revision
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.
Let's show you how to empty an input:
HTML:
<input type="text" value="I'll be empty">JS:
$.empty($.select("input"))
Don't hesitate to ask your questions
- Home
- The Core Languages
- Getting Started: Installation
- The Basics (
$.var()+$.target()) - Developing for DisplayJS
-
$.select()- Text related
- If...else
$.xss()$.repeat()$.custom()$.live()$.load()$.on()$.onEvent()$.ready()- Scroll API
$.all()$.clone()$.is()$.valEmpty()$.remove()$.show()&$.hide()$.ajax()- Class Related
$.css()$.getStyle()- Fade effects
$.extend()$.dynamic()$.parent()- Elements-Nodes
$.component()$.time_ago()$.copy()$.then()$.sleep()$.getProp()