Created
April 30, 2014 09:11
-
-
Save vincentdeelen/7bfef29cc40d99f5452d to your computer and use it in GitHub Desktop.
Check the affected rows after page submit.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create an array of of the empno's | |
var empArr = $v('P1_EMPNOS').split(':') | |
// Loop over the array | |
for ( var i = 0; i < empArr.length; i++ ){ | |
// Look for the employee and find the checkbox of that row. Then set the checkbox property to 'checked'. | |
$('td[headers="EMPNO"] input[value="'+empArr[i]+'"]').parent().parent().find('.row-selector').prop('checked', true) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment