I have started working on a very old IE application that needs to migrate to support the latest browsers. I found in the HTML, that almost all elements using
tag
attribute in it.
for e.g.
<input type="checkbox" name="chkVendorCode1" value="1" tag="chkCheckVendorDelete">
and on the jquery side its handles like below
var chkList = $('input[type="checkbox"][tag="chkCheckVendorDelete"][checked="true"]');
strangely this piece of code works only below IE8 versions but for chrome or any other later browsers, it's not supporting this.
now the main issue is, that this particular tag has been used 1000 times in the code and can not replace easily. Is there any way by which I can handle the tag and support the application to the latest browsers? I tried to figure it out on google but didn't able to find a single example of it, where the tag is used inside any HTML element. Any help or idea really appreciated.
Thanks