The input checkbox property issues

<input type="checkbox" checked="checked" disabled="disabled"/>
This can let checkbox selected, grey
Now I want to or through the attribute set is not selected, the available
<input type="checkbox" checked="???" disabled="???"/>
How to fill out this question.
Attention must be filled in property values, without JS control, I used in XSL

Started by Robinson at November 23, 2016 - 9:40 AM

If not, you can only
The output of the whole without a checked attribute

Posted by Zebulon at November 29, 2016 - 10:28 AM

You can add custom properties

Through getAttribute (Attribute Name) to obtain the attribute values

Posted by Selma at December 02, 2016 - 10:41 AM

<input type="checkbox" checked="checked" disabled="disabled"/>
The attribute checked is not input.?

Posted by Booth at December 05, 2016 - 11:10 AM

                       <xsl:element name="input">
                                 <xsl:attribute name="type">checkbox</xsl:attribute>
                                 <xsl:attribute name="checked">checked</xsl:attribute>                       
                       </xsl:element>

Posted by Booth at December 18, 2016 - 11:49 AM

<xsl:element name="input">
<xsl:attribute name="type">checkbox</xsl:attribute>
<xsl:attribute name="checked">checked</xsl:attribute>
</xsl:element>

Posted by Bing at December 19, 2016 - 12:36 PM

Set to false on the line.
Can use this attribute to remove
$("input").removeAttr('disabled');

Posted by Ron at December 31, 2016 - 1:16 PM

This is a positive solution

Posted by Gwendolyn at January 02, 2017 - 1:58 PM