[Javascript] Unobtrusive JavaScript?

tedd tedd at sperling.com
Sat Apr 16 20:16:45 CDT 2011


To all:

I think I got it.

http://www.webbytedd.com/aa/add-onclick-button/

In summary, if JavaScript is ON, then an onclick-button is added to 
the html otherwise nothing happens.

In both cases the form works and allows the user to enter as many 
Input Fields as needed. It is just easier if JavaScript is ON.

Considering there is no JavaScript anywhere within the html (other 
than the script src reference in the head tags) is an example of 
unobtrusive JavaScript -- is that correct?

Thanks,

tedd
-- 
-------
http://sperling.com/


More information about the Javascript mailing list