开发者

unobtrusive javascript pain points to beware of

I have recently started learning unobtrusive JavaScript. Using JQuery its really fun.

However with this thinking of writing JavaScript cod开发者_StackOverflow社区e has come a real long way from traditional ways. Also adding quick onclick="fun()" is helpful sometimes and as the application grows 100% unobtrusive code "sometimes" become difficult to write. Like attaching multiple events to one DOM element and thinking which one will get executed ?

So i would like to know points that should be watched while writing unobtrusive JavaScript code to keep life easy.

Thanks,

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜