mardi 12 janvier 2016

Set checkbox with specific value

I'm looking for a way in jQuery console to checkbox selected values in Chrome (ie. 416800-000). I have found ways to do it but my HTML situation is a bit different. Going off the name parameter isn't doable for me.

<input type="hidden" name="value[1].value" value="416800-000" class="__web-inspector-hide-shortcut__" checked="checked">
<input type="checkbox" name="value[1].enabled" value="on">

The above value when type is hidden can by dynamic.

Here is a demo of my problem

http://ift.tt/1ZZCm4P

Similar to this case Get checkbox with specific value




Aucun commentaire:

Enregistrer un commentaire