how to get the previoussibling aria-valuenow value in jquery

Posted by Kasani007 under jQuery on 7/1/2016 | Points: 10 | Views : 375 | Status : [Member] | Replies : 1
i had given as below :


var resultValue = $("td[data-container-for='Item']")[0].previousSibling.innerHTML.find('name=textBox1').attr('aria-valuenow');



but it is showing not available.

how can i get the value of previoussibling which is textbox in grid




Responses

Posted by: Mailtodhanz on: 7/8/2016 [Member] Starter | Points: 25

Up
0
Down
I hope below code is work......

var resultValue = $("td[data-container-for='Item']")[0].previousElementSibling.innerHTML.find('name=textBox1').attr('aria-valuenow');


Kasani007, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response