title: How to disable a button on an XSL stylesheet?
body: <p>I'm trying to disable a button via an XSL stylesheet (for a form on InfoPath 2010), but I don't want the button to change appearance or be grayed out, just remove the click "animation" and make it static. Can it be done?</p>
  
  <p>I've tried messing with the HTML but with no effects:</p>
  
  <pre><code>&lt;button type="button" disabled&gt;Click Me!&lt;/button&gt;
  </code></pre>
  
  <p>Sample code:</p>
  
  <pre><code>&lt;/input&gt;  &lt;input title="" class="langFont" style="CURSOR: pointer; FONT-SIZE: small; TEXT-DECORATION: ; BORDER-TOP: #ffffff 4.5pt; HEIGHT: 33px; BORDER-RIGHT: #ffffff 3pt solid; WIDTH: 100px; BORDER-BOTTOM: #ffffff 3pt solid; FONT-WEIGHT: bold; COLOR: #ffffff; MARGIN: 0px; BORDER-LEFT: #ffffff 3pt solid; BACKGROUND-COLOR: #002060" size="9" type="button" xd:CtrlId="CTRL26" xd:xctname="Button" tabIndex="0"&gt;
  &lt;xsl:if test="function-available('xdXDocument:GetDOM')"&gt;
  &lt;xsl:attribute name="value"&gt;
  &lt;xsl:value-of select="xdXDocument:GetDOM(&amp;quot;OrganizationChartPeople- שם ותפקיד&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Title[../d:ID = 14]"/&gt;
  &lt;/xsl:attribute&gt;
  </code></pre>