EasyUI Forum
May 01, 2024, 10:12:51 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [已解决] 通过 combo 对象的 textbox, 如何知道关联的 combo 对象  (Read 7804 times)
iamjxc
Jr. Member
**
Posts: 80


View Profile
« on: April 01, 2014, 09:34:08 PM »

$(document).bind("contextmenu", function(evt){
    var el = evt.target;
    
    // 用 closest 可以得到 textbox 对应的 combo 对象
    var combo = el.closest(".combo");
    if (combo){
       ...
    }

});
« Last Edit: April 25, 2014, 04:54:01 PM by iamjxc » Logged
zh_CN
Newbie
*
Posts: 32



View Profile Email
« Reply #1 on: April 01, 2014, 10:33:38 PM »

你发的问题,好像没多少有回答的哦,我顶你下
Logged

From the great China
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!