for Firefox:

function selectRow(obj, id, rowID, e) { // maybe 'e' should put last
            if ($.browser.mozilla) {
                var event = e;
                if (event.ctrlKey == true) 
                {
                     // do something here
                }
             }
}

 

for IE:

function selectRow(obj, id, rowID) { // the 'e' not need
    if(window.event.ctrlKey) {
        // do something here
    }
}

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-27
  • 2021-12-17
  • 2021-08-02
  • 2022-12-23
猜你喜欢
  • 2021-12-19
  • 2021-07-26
  • 2022-01-17
  • 2022-02-06
  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案