banwarisharma / dropdown-check-list

Automatically exported from code.google.com/p/dropdown-check-list
0 stars 0 forks source link

Problem to get Value from Label #325

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
sir thanks for provide a very helpful js file
but i have a problem to use it, the problem is that when i want to get text of 
label created by your ddcl if shows undefiend please solve my problem.

thanks in advance 
=====>
code snippets
     <label for="Ad Found" id=" 28"  class="ui-dropdownchecklist-text" style="cursor: default;">Ad Found</label>

     function getValue() {
    console.log($('#29').val());
}

<input type="button" onclick="getValue()" value="click me" />

Original issue reported on code.google.com by abhisapn...@gmail.com on 17 Aug 2015 at 8:09