I'm trying to update some text fields in some online accounting software.
I can change the textbox using jquery and .value however when I click the
save button it is like I never changed the field. I'm wondering if there
is something else I should be doing or some other attribute other than
.value I should be using instead.
var employer = 10.0;
$('#payslip > div:nth-child(2) > div > div:nth-child(5) > div.xb-igrid-body
> div.xb-igrid-data > div > div.xb-igrid-col.xb-igrid-col5 >
input').value = employer.toFixed(2);
Note the source textbox I am targetting looks like this:
<input type="text" class="form-control" data-bind="value: formula.amount,
'has-error': hasError }">
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/d/optout.