• Seite 1 von 1
  • 1
Gemeinschaft uCoz » Für Webmaster » Design » "maxlength" ändern (Möchte Zeichenlänge von input Feldern ändern!)
"maxlength" ändern
Dave3682
Beiträge: 19
Ruf: 1
Beitrag # 1 | 00:07
Hallo,

weiß jemand wie man in Eintragsformularen die begrenzte Zeichenlänge aufhebt?

Bsp: <input maxlength="85"... oder <input maxlength="100"...

Das ist leider zu kurz für manche Affiliate Links.

KURZ URL DIENSTE SIND NICHT ERLAUBT

Kann mir jemand helfen?

Danke
bigblog
Beiträge: 30
Ruf: 3
Beitrag # 2 | 10:36
Dave3682, you need to find the ID or class of the input and put this code at the end of the template:

Code
<script type="text/javascript">
$(document).ready(function() {
    $("#input2").attr("maxlength", 255);
});
</script>


Although I'm not sure if the system will allow you to add the entry if you do this. You need to see.

Working fiddle: https://jsfiddle.net/23185efL/

uCoz Administration
Dave3682
Beiträge: 19
Ruf: 1
Beitrag # 3 | 00:36
Danke, hat funktioniert.
Gemeinschaft uCoz » Für Webmaster » Design » "maxlength" ändern (Möchte Zeichenlänge von input Feldern ändern!)
  • Seite 1 von 1
  • 1
Suche: