panel has this html
code
<div data-role="fieldcontain" class="2ndCodeGrp" id="Secondary" data-mini="true">
<fieldset data-role="controlgroup" data-type='horizontal' style="text-align: center">
<div style="width: 260px; margin: 0 auto;">
<input type="checkbox" name="2ndCodeGrp" id="this1" data="Section removal" style='display:none' data-mini="true" value="this1"/><label for="this1">this1</label>
/code
Button shows normal but the generated html in browser shows
span class="ui-btn-text"
this1
/span
Note the huge white space.
I had code to read, adjust label, increment counter on label etc.
No longer works since Appery last update.
code
$("input[type='checkbox']:checked").each(function () {
var response = $('label[for="' + this.id + '"]').text();
console.log("response " + response);
if (response.length > 5) {
etc..}
/code
Why does the var response have whitespace at the end of the text from my example code above.
instead of response = "this1"
I get "this1 "
I can strip last char. but if you change Appery again later this will be a problem
Suggestions?
Thanks.