In comp.lang.javascript message <7c50f285-c43f-4f29-9d36-b4bb5ae7a922@[EMAIL PROTECTED]
>, Fri, 9 May 2008 05:07:21, Laser Lips
<loudsphiers@[EMAIL PROTECTED]
> posted:
The advice of anyone who posts this code
>function cutLength(e,el,max)
>{
> if(el.value.length>max)
> {
> return false;
> }else{
> return true;
> }
>}
rather than
function cutLength(e, el, max) { return el.value.length <= max }
is unlikely to be worth considering.
--
(c) John Stockton, nr London UK. ???@[EMAIL PROTECTED]
Turnpike v6.05
MIME.
Web <URL:http://www.merlyn.demon.co.uk/>
- FAQish topics, acronyms, &
links.
Check boilerplate spelling -- error is a public sign of incompetence.
Never fully trust an article from a poster who gives no full real
name.


|