Please, please, make your webapp/website user’s life easier, with my lifedraft_doubleChar jQuery Plugin you could type without have to memorize where your double quoute, round brackets or square brackets start or end. You could also say: Intelligent autocomplete!
Download the Plugin and jQuery, embed both in your page, create your textarea or input[type=text] element and complete it with the following:
jQuery("textarea").lifedraft_doubleChar();
Your users will say “Thank you” to you!
Post new comment
cool! echt ein netter effect
cool! echt ein netter effect wenn man einfach das sowieso notwendige zeichen schon nach dem cursor stehen hat. dank!
Ist es Absicht, das mir
Ist es Absicht, das mir statt eines Single-Quotes ‘ dann normale Anführungszeichen “ vorgeworfen werden? Ich würd das ja noch als Bug sehen.
Ansonsten ganz nett.
@Dirk, ja das ist mir auch
@Dirk, ja das ist mir auch aufgefallen aber blöderweise, unterscheiden die Browser nicht zwischen double-quoutes und single quotes, der keyCode ist somit bei beiden gleich.
Das Plugin ist wirklich
Das Plugin ist wirklich nützlich. Jedoch funktionieren die eckigen Klammern bei mir nicht. Ansonsten wäre es auch noch sinnvoll, geschweifte Klammern hinzuzufügen. Braucht man zwar nicht so häufig, praktisch ist es aber trotzdem und zu erwarten, wenn die anderen Klammern auch gehen.