Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

.expandInput(options)

This overlays a textarea on the selected input to make it appear as the input area got larger, when the input field is focused. The plugin can be configured as follows:

...

<span class="autotooltip" data-autotooltipurl="/sys/mytooltip.php?x=1">My tooltip</span>
<span class="autotooltip" data-autotooltiphtml="&lt;span&gt;Some HTML&lt;/span&gt;">My tooltip</span>

.emptytext(string)

Used on input fields to display a grayed out text, when the field is empty. Example:

...