“Disabling” an HTML table with Javascript

后端 未结 6 1796
名媛妹妹
名媛妹妹 2021-02-08 10:01

I\'ve seen this done in a lot of sites recently, but can\'t seem to track one down. Essentially I want to \"disable\" an entire panel (that\'s in the form on an HTML table) whe

6条回答
  •  灰色年华
    2021-02-08 10:43

    Can't you just find out the height of the area in pixels with JavaScript? And then set the veil's height to that number?

    I don't have the exact code in my head but offsetHeight might do the trick

提交回复
热议问题