- PRB - todo/inprocess/... radio button clicks NOT working
- CAUSE - data toggle = buttons,
- SOL
- using selector id on radio, ex id=radio1 , $("#radio1).click
- existing functions are written this way BUT - DOES NOT WORK
- HAVE buttons
- TRY use type=checkbox (vs radio), rename, no change
- TESTING many different selector variations,
- WORKS - using id on button container, either click or change events
- REF art# SO
- SOL WORK - removing radio button container div attribute "data-toggle=buttons", this changes the look of the radios to more like a radio and now the original event handlers are firing (as well as the container div event handler)
g?='data-toggle= buttons' r# # =
- PRB selector $(#myRadios :input) does not select the input group in my code, BUT works in example code
- CAUSE:
- SOL :
- TRY = rem the event handlers for RESULT = FAIL no change
- TRY = more variations - #myRadios label.btn , label.btn :input, .label.btn :input , label:input, label.input, label btn, label.btn.input RESULT = fail
- RESULT = PASS - #myRadios, #myRadios label, #myRadios label.btn
- TRY = added 'id=..." attribute to all other btn-group divs , RESULT = FAIL
- TRY = rem out all other toolbar button group components, RESULT = FAIL
- TRY = rem out my component, replace with example component RESULT=FAIL , works in the jsfiddle BUT does not work in my example
http://stackoverflow.com/questions/9262827/twitter-bootstrap-onclick-event-on-buttons-radio
- TRY = use first child selector
- TRY = -v-test = stripped both files ( .js and .cshtml) of everything but 'example' code
- REMOVE data-toggle
- ADD code to adjust 'text' on labels dependant upon 'current_app'
- ADD label ids
- ADD label event handlers
- return data-toggle
- UPLOAD view/articles, /script/toolbar-records.js, /Shared/toolbar-records.cshtml,
- TEST = ] select all NF after ... ] label id NOT input id ? does it matter? ]
ID: 6697
NAME: FIX-PRB-6697
DESCRIPTION: ] NEW FIX-PRB-6697 -selecting :input
START DATE TIME: 2016-12-22 15:30:00
EST DURATION: 01:00:00
END DATE TIME: 2016-12-22 16:30:00
STATUS: To-Do
PRIORITY: -5
OWNER ID: 1