Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.
<tr>
                        <td width="25%" class="ms-vb">
                            <b>Inclusion:</b>
                        </td>
                        <td width="75%" class="ms-vb">
                            <xsl:value-of select="@Inclusion" />
<p></p>
                        </td>
                    </tr>

How can i get the value of @Inclusion in the client?

share|improve this question
    
What does the client (generated) HTML look like –  Muhimbi Aug 18 '10 at 5:39

2 Answers 2

We got loads of SharePoint JQuery related samples on our site as it works very well with our free SharePoint Infuser product.

Check out the following resources:

share|improve this answer
    
Thanks but what i'm after is use an element tag like so e.g <div id="inc"><xsl:value-of select="@Inclusion" /> </div> and then use jquery to get the div value using the "inc" ID Any ideas? –  Patrick Aug 17 '10 at 11:15

You can get that element by getting that element value by title. For example if your inclusion field is input then you can use something like this

jQuery('input[title="Inclusion"]').val();

This way I used to get the element values. In your case you need to check your DOM for your element type.

Hope this helps!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.