Sunday 15 March 2015

javascript - If IE tag not working for IE11 -



javascript - If IE tag not working for IE11 -

i got script quantity box can add together or remove items.

however it's not working in ie because there button within anchor tag, wanted utilize onclick function used when user uses ie.

this it, thought found out not working of ie11.

anyone know workaround? want utilize onclick function when ie used, since quantity box works fine in other browsers.

<!--[if lt ie 11]> <![endif]-->

if helps anyone, code talking not work in ie.

<a href="?del='.$key.'" class="minus" > <input type="button" class="minus" value="-" id="min"> </a> <input type="text" class="input-text qty text" title="qty" value="'.$value.'" name="quantity" min="1" step="1"> <a href="?add='.$key.'" type="button" class="plus"> <input type="button" class="plus" value="+"> </a>

conditional comments no longer supported of ie 10.

you could utilize meta tag create ie render page in ie9 mode:

<meta http-equiv="x-ua-compatible" content="ie=emulateie9">

then, conditional statements should work again.

please have @ article linked more details.

however, big problem here wrapping inputs in <a> tags. that's invalid syntax, , reason page misbehaving.

javascript html internet-explorer

No comments:

Post a Comment