You need to sign in to do that
Don't have an account?
Paras Jain
Locker Services issue
<td class="slds-cell-shrink" data-label="Select Row" style="width:8%;border: 1px solid #cecfd5;padding: 1px 2px;text-align: center;">
<div aura:id="tycoon">
<!-- <input type="checkbox" name="{!ntwrk.CheckValStatus}" id="{!ntwrk.nwID}" onclick="{!c.testCall}" checked="{!ntwrk.CheckValStatus}" value="{!ntwrk.state}"/>
--> <ui:inputCheckbox aura:id="abcd" name="{!ntwrk.CheckValStatus}" change="{!c.testCall}" value="{!ntwrk.state+}"/>
</div>
<span class="slds-checkbox--faux"></span>
<span class="slds-assistive-text">Select All</span>
</td>
JS CTR-->
var networkCheck = document.querySelectorAll('#' + 'abcd' + ' input[type="checkbox"]');
var networkCheck = component.getElement().querySelectorAll('#' + 'abcd' + ' input[type="checkbox"]');
both the lines are not working and geting null values in "networkCheck ".
Any help would be really grateful.
<div aura:id="tycoon">
<!-- <input type="checkbox" name="{!ntwrk.CheckValStatus}" id="{!ntwrk.nwID}" onclick="{!c.testCall}" checked="{!ntwrk.CheckValStatus}" value="{!ntwrk.state}"/>
--> <ui:inputCheckbox aura:id="abcd" name="{!ntwrk.CheckValStatus}" change="{!c.testCall}" value="{!ntwrk.state+}"/>
</div>
<span class="slds-checkbox--faux"></span>
<span class="slds-assistive-text">Select All</span>
</td>
JS CTR-->
var networkCheck = document.querySelectorAll('#' + 'abcd' + ' input[type="checkbox"]');
var networkCheck = component.getElement().querySelectorAll('#' + 'abcd' + ' input[type="checkbox"]');
both the lines are not working and geting null values in "networkCheck ".
Any help would be really grateful.
we also want to use "querySelectorAll" in the lightning js controller.
Please let us know if you guys found out any solution for this.