次のコンテンツがあるとしましょう。
<div id="sectionA"></div>
<div id="sectionB"></div>
<div id="sectionC"></div>
$("#sectionA").bind(keydown, function(events)
{
alert("section A");
return false;
});
$("#sectionB").bind(keydown, function(events)
{
alert("section B");
return false;
});
$("#sectionA").bind(keydown, function(events)
{
alert("section C");
return false;
});
これは可能ですか?そうでない場合、どうすればこれを機能させることができますか?