5
<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?

1

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:

  • 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
1

You can get that element by getting its value by specifying attribute which is 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!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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