FAQ Database Discussion Community


DOM manipulation, backwards compatibility and cross browser worries

javascript,dom,cross-browser,backwards-compatibility
Can I use modern DOM manipulation and traversal methods like document.querySelector safely without worrying about backwards compatibility and cross-browser compliance?

img tag width height issue in firefox

html,css,image,cross-browser
I have more img tag in my HTML code like below code, <div id="container" > <div> <img alt="Image1" id="Image1" src="" width="130px" height="90px" class="img"> <input type="file" id="files1" class="fileUpload" name="files1[]" style="display:none" value="Select Image"> <br> <br> <img alt="Image2" id="Image2" src="" width="130px" height="90px" class="img"> <input type="file" id="files2" class="fileUpload" name="files1[]" style="display:none" value="Select Image"> <br> <br>...

Show datalist labels but submit the actual value

javascript,html,html5,cross-browser,html-datalist
Currently the HTML5 <datalist> element is supported in most major browsers (except Safari) and seems like an interesting way to add suggestions to an input. However, there seem to be some discrepancies between the implementation of the value attribute and the inner text on the <option>. For example: <input list="answers"...

How to properly deal with Silverlight deprecation?

javascript,google-chrome,silverlight,cross-browser,npapi
Recently, Chrome deprecated NPAPI support, so that means no Silverlight. Now, I've learned to be a good web developer and prefer feature detection over browser detection to deliver a good user experience. Unfortunately, it seems impossible to do NPAPI support feature detection properly. I've built a JavaScript replacement for our...

Object doesn't support property or method 'querySelectorAll' (sp.core.debug.js)

javascript,jquery,internet-explorer,sharepoint,cross-browser
First of all I want to tell I am new in SharePoint. I have developed a public website in SharePoint 2013. When I open my site in IE 7, following exceptions occurs in sp.core.debug.js Object doesn't support property or method 'querySelectorAll' Object doesn't support property or method 'querySelector' and sp.core.debug.js...

How to remove default arrow form , not