I grabbed this code form JCarousel and just trying to understand these lines below. I\'m new to jQuery and not that great at JavaScript so I am not sure what is jQuery and
Ok guys, I'd like to bring my share to this topic, and tell you about the easiest way to disable clicked dialog button. Here goes:
$("#dialog-selector").dialog({ title: "Dialog", // Other options buttons: { "Ок": function(e) { $(e.currentTarget).attr("disabled", true); } } });