Jump to content

Year

Day

24 ways to impress your friends

Vote down?

  • Alex http://students.vassar.edu/albrey

    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?