html - How to disable a button on an XSL stylesheet? -


i'm trying disable button via xsl stylesheet (for form on infopath 2010), don't want button change appearance or grayed out, remove click "animation" , make static. can done?

i've tried messing html no effects:

<button type="button" disabled>click me!</button> 

sample code:

</input>  <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"> <xsl:if test="function-available('xdxdocument:getdom')"> <xsl:attribute name="value"> <xsl:value-of select="xdxdocument:getdom(&quot;organizationchartpeople- שם ותפקיד&quot;)/dfs:myfields/dfs:datafields/d:sharepointlistitem_rw/d:title[../d:id = 14]"/> </xsl:attribute> 

use

<button type="button" disabled="disabled">click me!</button> 

html allows such attributes written in abbreviated form; xml not.


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -