//sample solution to script.js
//code exists prior to this point
// Exercise 5
function addBarClickEvent($bar,value) {
// add a click event to the bar that
// pops up an alert with the bars value
$bar.click(
// your code goes here!
function(e){
alert(value);
}
);
}
//code exists after this point
No comments:
Post a Comment