Contribute to JEvents

Tutorial maxlength to any textarea - Jevents and Joomla

We are looking for developers, forum moderators and translators for this project.

If you would like to help out then please add a message in this forum.

Postby rodrigoangelos » Sat Sep 10, 2011 5:20 pm

Hey guys,

Im making this tutorial because i wasted too much time searching this and maybe help someone!
I used a jquery that use css to add a maxlength to textarea. So:

1- First, install the free plugin 'jQuery++ Integrator' to integrate joomla and jquery
To load jquery faster put jquery.js at the root of the site:
1.1- Config embed jquery to: Yes - Local copy
1.2- Config jQuery custom CDN to: /index.php/jquery-1.6.2.js (just an example)

2- Download jquery.maxlength.js (search at google) and put at the root of the site.

3- Between <head> </head> of the index.php of your template use this:

<script type="text/javascript" src="jquery.maxlength.js"></script>

jQuery(document).ready(function($) {




3.1- Edit #jevcontent to the css that you want.
3.2- Edit 178 to the maxlength that you want.
3.3- If you want more just add another code like:


4- Good luck! Bye.
Posts: 30
Joined: Fri Aug 26, 2011 7:21 pm

Postby Geraint » Mon Sep 12, 2011 9:12 am

Thanks - that is very helpful.

This may also be of interest if using the tinyMCE editor ... escription
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
User avatar
Posts: 42848
Joined: Fri Feb 15, 2008 6:14 pm

Return to Contribute to JEvents

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there are 0 users online :: 0 registered and 0 hidden (based on users active over the past 5 minutes)
  • Most users ever online was 94 on Tue Sep 01, 2009 12:33 am
  • Users browsing this forum: No registered users