.
(that we’re creating on the fly) to the event.
{ return Count(this,’desc’) }; - “Count” is the name of a function; we’re passing two parameters in this example: the object itself (”thefield”) and a character string “desc”. This will return the result of the function.
Here is a full source, simplified example. In this example, every time the user releases a key in the textarea, a JavaScript alert box will indicate the length of the entered text.
Keep in mind that this very basic example does not account for more complex real world scenarios, like limiting the number of characters. If you need help with more complex scenarios, be sure to contact us.
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
http://www.w3.org/1999/xhtml">
Hi man, thx for this, it was really helpfull. I was dumb cant figure out this:)