Jul 31, 2018 09:35 AM|Ackerly Xu|LINK
Hi JagjitSingh ,
When the error Uncaught TypeError: Cannot read property 'length' of undefined occurs ,it’s normally caused by your variable data doesn’t have a property named “d”.
You could use F12 developer tool to help you check your data or use console.log(data) to get more information.
Press F12 , click the “Sources” item and click your aspx page.
Click the number at left to decide which line you want to put your breakpoint.
Press F5 to reload the page , the code will stop where you put your breakpoint.
You could add another breakpoint. press F8 to skip to the next breakpoint , F10 to go to the next line.
Move your cursor to your data variable , it will show you detailed information .
Please check if data has a property named ‘d’.
Best regards ,