href around input type submit

后端 未结 6 690
谎友^
谎友^ 2020-12-09 21:22

why isn\'t a href around an input type submit not working in IE? (and what can I do to fix it)



        
6条回答
  •  轮回少年
    2020-12-09 21:41

    I agree with Quentin. It doesn't make sense as to why you want to do it like that. It's part of the Semantic Web concept. You have to plan out the objects of your web site for future integration/expansion. Another web app or web site cannot interact with your content if it doesn't follow the proper use-case.

    IE and Firefox are two different beasts. There are a lot of things that IE allows that Firefox and other standards-aware browsers reject.

    If you're trying to create buttons without actually submitting data then use a combination of DIV/CSS.

提交回复
热议问题