Iterate through and delete empty HTML table rows with jQuery

前端 未结 4 972
梦如初夏
梦如初夏 2021-01-18 18:50

I am attempting to iterate through a HTML table using jQuery and delete empty rows. The page is driven by ASP.NET and with certain permission, items in the table will be hid

4条回答
  •  悲&欢浪女
    2021-01-18 19:31

    Your code appears to work just fine. Try running the following on its own to see what I mean:

    
    
        jQuery Tests
    
        
        
    
    
    
        
    testing
    testing testing
    testing

    Could there be something else on the page that might be conflicting?

提交回复
热议问题