javascript - If IE tag not working for IE11 -
I found a script for a volume box, where you can add or remove items.
Although it is not working in IE possibly because there is a button inside an anchor tag, which I wanted to do, it uses an onClick function that a user used when using IE goes.
It will do this, I thought but I found out that it is not working as IE11.
Anyone know an alternate solution? I want to use an onClick function when IE is used because the quantity box works fine in other browsers.
& lt ;! - [If lt IE 11] & gt; & Lt; [Endif] - & gt;
If it helps someone, then this is the code, which I am talking about which does not work in IE.
& lt; A href = "? Del = '. $ Key.' "Class =" minus "& gt; & Lt; Input type = "button" class = "zero" value = "-" id = "least" & gt; & Lt; / A & gt; & Lt; Input type = "text" class = "input-text qty text" title = "volume" value = "'. $ Value." "Name =" quantity "min =" 1 "step =" 1 "> gt; & lt; a href ="? Plus = '. $ Key. '"Type =" button "class =" plus ">
.
You Then, the conditional statement should work again. Please refer to the link article for more details. However, the big problem here is that you
& quot; Meta http-equiv = "X-UA-Compatible" content = "IE = EmulateIE9" &
& lt; a & gt;
tag is invalid syntax, and most likely the page is misbehaving.
Comments
Post a Comment