[英]Faster way to find control in sharepoint pages Edit,New
Can any body give me better way to find control in sharepoint page.I user below code to find control in sharepoint page. 任何人都可以给我更好的方法在共享点页面中找到控件。我用下面的代码在共享点页面中找到控件。 $("nobr:contains('Add Another Contractor')")
$(“ nobr:contains('添加其他承包商')”)
May be better or faster way if any Please tell me. 可能是更好或更快速的方式(如有),请告诉我。 Thanks,
谢谢,
An alternative: 替代:
table.ms-formtable td.ms-formlabel
table.ms-formtable td.ms-formlabel
I currently work with prototype.js, but you can take a look at the library I maintain: SPUtility.js . 我目前正在使用prototype.js,但是您可以看一下我维护的库: SPUtility.js 。 You don't mention what you're attempting to do with the elements, but it may help.
您没有提到要使用元素做什么,但这可能会有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.