Hoc est aliud post in mea in-ingressus series in uti mauris cum SharePoint.
Sis commodo lorem ipsum, Ego altus suadeo: commodo in Actionis per Ursus Bibeault et Yehuda Katz.
Antea, I wrote about how to use jQuery to locate and hide a text field on a form. Non magnopere ad eos aditus specifica (Chaining parentibus fui - quod suus simpliciter non fit his diebus, saltem in familiis qualitatis).
Cum primum coepi cogitare, Scio invenire opus <TR> quibus poterat abscondere invocant() methodo. Invenire rectam primori labore <TR> Erat huic simile:
$('Tr:habet(input[title = abscondas me!])');
Invenies quod est forsit <TR> tag, qui habebat aliquam habitudinem ad parent protege me! agrum, etsi me abscondet! et nidificas in tot gradus est altus <TR>'S. Evenit ut in forma mea sandbox, qui invenit expressionem 9 aliter qui me abscondet TR scriptor! sicut puer alicubi in DOM ligno. I realized that I could walk back up the tree from the input field itself, Ut 'quam EGO nisus sursum parentes inproperabant, mihi autem non sedet apta.
Hoc cogitet quae ego legi et sic tandem: Uti non potui() de methodo plana <TR>’s I don’t want in my wrapped set. Qui eduxit me ad hoc:
$('Tr:habet(input[title = abscondas me!])').non('Tr:habet(tr)').abscondere();
Primus omnium invenit frenum <TR> tags qui in me abscondet! field anywhere in their own hierarchy. It then strips out any <TR> quod etiam puer <TR>. This leaves us with a single <TR> quod:
1) Non habet <TR> Puer commemorat
2) Does have the input field as child.
Possumus ergo adhibere hida() inde in statuto fit modus et sumus.
Hoc adhuc sum aliquantulus nervous, sed non sicut parentum timidus sicut chaining.
I don’t know if this is a best practice or not. There may be a more appropriate way of identifying just the <TR> that we care about in a SharePoint form. If you know, placere stipes a comment.
</finem>
Sequi me in Twitter ad http://www.twitter.com/pagalvin
HI Paulus,
Paulus ingeniosa Culmsee Workarounds scripsit articulus de eodem fluxu (agro invenire rectam TR celare) usura campo JavaScript, non jQuery. Invenitur universaliter in absconditum invenit VULGATE, suus in fine huius blogpost : http://www.cleverworkarounds.com/2008/02/07/more-sharepoint-branding-customisation-using-javascript-part-1/
Spero is succurro,
Ionathas
Pingback: Abscondere in agro SharePoint edit formam fundata alios valores « jbmurphy.com