Skip to content

Instantly share code, notes, and snippets.

@franklinbr
Created October 16, 2015 20:10
Show Gist options
  • Save franklinbr/95590a9d7f5afbae390a to your computer and use it in GitHub Desktop.
Save franklinbr/95590a9d7f5afbae390a to your computer and use it in GitHub Desktop.
$('#tblPercurso').find('table:first > tbody > tr:eq(1) > td:eq(0)')
.find('input').val('101');
$('#tblPercurso').find('table:first > tbody > tr:eq(1) > td:eq(1)')
.find('input').val('DIV. PE/AL - DIV.AL/SE');
$('#tblPercurso').find('table:first > tbody > tr:eq(1) > td:eq(2)')
.find('select > option:eq(2)').prop('selected', true);
$('#tblPercurso').find('table:first > tbody > tr:eq(1) > td:eq(3)')
.find('input').val('0,00');
$('#tblPercurso').find('table:first > tbody > tr:eq(1) > td:eq(4)')
.find('input').val('153,0');
$('#tblPercurso').find('table:first > tbody > tr:eq(1) > td:eq(5)')
.find('input').trigger('click');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment