Link to home
Start Free TrialLog in
Avatar of JRockFL
JRockFLFlag for United States of America

asked on

jQuery and Repeater

If the user inputs a numeric value into the quantity text box, then I would like to set the price and total textboxes to "0.00"
for that row only.

Please see the screen shot, all the textboxes in all rows changed.
How can I limit it by row?

    $(document).ready(function () {
        $("[id$='_txtQuantity']").blur(function () {
            var quantity = $("[id$='_txtQuantity']").val();
            if (isNumeric(quantity)) {

    function isNumeric(n) {
        return !isNaN(parseFloat(n)) && isFinite(n);
User generated image
Avatar of Rahul Agarwal
Rahul Agarwal
Flag of India image

Please read the documentation:
Avatar of P1ST0LPETE
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JRockFL


Perfect, thank you