タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

JavaScriptとformとAjaxに関するmonjudohのブックマーク (1)

  • 5 Tips for Better jQuery Code - Marc Grabanski

    I’ve been coding using jQuery since shortly after it came out, and well — I’ve been using it almost every work day. Here is a few tips that have saved me time. #1: Use data method instead of storing data inside the DOM. The mistake I see people making all the time is this: $('selector').attr('attribute', 'this is the data that I am storing'); // then later getting that data with $('selector').attr

    monjudoh
    monjudoh 2008/11/19
    data method、custom selectors、DOM操作が頻繁な場合はlivequeryを使用、jQuery form plugin -> $(form).ajaxSubmit();、classをフラグとして使用。
  • 1