|
C
|
cgphp 7/30/2012 |
val.on('change', function(e){
|
|
|
S
|
smith author 7/30/2012 |
val.on('change', function(e){
|
|
|
C
|
cgphp 7/30/2012 |
|
The scope of val is wrong. It should be declared outside of the beforeSave event and should be a selector not a value. Anyway, if you want to add an event to a control, you have to use the getControl method. Try the following version: this.on('beforeSave', function(formObj, fieldControlsArr, pageObj){ |
|
|
S
|
smith author 7/30/2012 |
|
Thank you Cristian Gile The scope of val is wrong. It should be declared outside of the beforeSave event and should be a selector not a value. Anyway, if you want to add an event to a control, you have to use the getControl method. Try the following version: this.on('beforeSave', function(formObj, fieldControlsArr, pageObj){ |
|
|
S
|
smith author 7/30/2012 |
|
btw how to hide the select all checkbox during inline edit var ctrlabc = $('#chooseAll_1'+pageid);Thank you Cristian Gile it works now Smith |
|
|
S
|
smith author 7/30/2012 |
|
solved using document.getElementById("chooseAll_1").style.display = 'none';
btw how to hide the select all checkbox during inline edit this is no working var ctrlabc = $('#chooseAll_1'+pageid); |
|