You are here: Re: event handler attachment « HTML « IT news, forums, messages
Re: event handler attachment

Posted by Neredbojias on 06/25/06 20:20

To further the education of mankind, "Jonathan N. Little"
<lws4art@centralva.net> vouchsafed:

>>> Event handlers attached by 'addEventListener' do not seem to pass
>>> values in time to cancel form submission unlike the methods that it
>>> is supposed to replace. In an attempt to keep the markup as clean as
>>> possible, I add the handlers from the attached javascript page and I
>>> have noticed the trouble. Small demo to illustrate:
>>
>> I think you should put the j/s which is in <head> in <body>, right
>> before </body>.
>>
> I think you miss the point, the attempt is not to have any j/s
> references within to body akin to not having presentational markup and
> inline style in the body.

Apparently so. Never even heard of 'addEventListener' or 'attachEvent'
before. Will have to bone up on that.

--
Neredbojias
Infinity has its limits.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация