我想獲取鏈接點擊的html值。 這些鏈接使用Ajax動態創建的,所以我不認爲.bind將 的工作,我沒有最新版本的.live $('div#message').click(function() {
var valueSelected = $(this).html(); // picks up the whole id. I juust want single href!
a
C++ 0x不贊成使用舊綁定器,例如bind1st和bind2nd,而贊成使用通用std::bind。 C++ 0x lambdas與std::bind很好地結合,但它們不會與經典的bind1st和bind2nd綁定,因爲默認情況下,lambda沒有嵌套的typedefs,如argument_type,first_argument_type,second_argument_type和。 所以我認爲