Jump to content
12/12/2005
Is there a way to attach the javascript to a link without actually inserting in the HTML through href or onclick? I thought unobtrusive javascript was the big thing, separating content from behavior and all with the DOM…
Also, how would you set the class in javascript?
Vote down?
12/12/2005
Is there a way to attach the javascript to a link without actually inserting in the HTML through href or onclick? I thought unobtrusive javascript was the big thing, separating content from behavior and all with the DOM…
Also, how would you set the class in javascript?