ASP.Net Ajax $find() Jquery Equivalent

前端 未结 5 1893
名媛妹妹
名媛妹妹 2020-12-19 00:33

Is there a JQuery equivalent of ASP.Net Ajax\'s $find() function?

$() != $find()
5条回答
  •  感动是毒
    2020-12-19 01:04

    There is not a 1to1 equivalent but what you want is $('selector')

    Check out the docs on the different selectors

    $find('MyComponent') would be $('#MyComponent')
    
    $find('MyComponent',div) would be $(div).find('#MyComponent')
    

提交回复
热议问题