I'm refactoring some code at the moment and have come across a selector:
jQuery("tr","#ctl00_MainContent_MyUserControl").each(function(i,row) { ... }
It looks like it's selecting <tr>
's from the user control on the page (ignore the fact that the instance is fully named!) but it's not a syntax I'm familiar with and can't find anything in the documentation. I'd expect it to be written:
$("#ctl00_MainContent_MyUserControl tr").each(function(i,row) { ... }
Can anyone tell me if there's a difference (subtle or otherwise) that I'm missing here??
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…