Toggle divs without using Javascript

后端 未结 11 2039
日久生厌
日久生厌 2020-12-06 10:19

I\'d like to toggle a

, but my requirement is that it must work with javascript turned off. I would like to select a hyperlink that sta
11条回答
  •  死守一世寂寞
    2020-12-06 10:57

    What you ask is impossible without JavaScript. (Or, as @Pointy has pointed out, CSS3 selectors.)

    You will have to modify your requirements, or better yet, just display the form by default and hide for JavaScript users (if necessary). Your page can work for everyone, and have unimportant features disabled for those that cannot use them.

提交回复
热议问题