below piece of code does not work in IE 11 it throws a syntax error in the console   g.selectAll(".mainBars").append("text").attr("x",d=>(d.part=="primary"? -40: 40)).attr("y",d=>+6).text(d=>d.key).a...
I'm using Firebug and have some statements like:  console.log("...");   in my page. In IE8 (probably earlier versions too) I get script errors saying 'console' is undefined. I tried putting this at the top of my page:  <scrip...
In IE, the dropdown-list takes the same width as the dropbox (I hope I am making sense) whereas in Firefox the dropdown-list's width varies according to the content.   This basically means that I have to make sure that the dropbox is wide enoug...
I'm trying to build a little calendar in JavaScript. I have my dates working great in Firefox and Chrome, but in IE the date functions are returning NaN.   Here is the function :  function buildWeek(dateText){     var headerDates='';...
window.popup = window.open($(this).attr('href'), 'Ad', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0');  $(window.popup).onload = function()         {                 alert("Popup has loaded a page");...
Here's something I've been having a little bit of difficulty with. I have a local client-side script that needs to allow a user to fetch a remote web page and search that resulting page for forms. In order to do this (without regex), I need...
I am doing something like this in javascript to print a section of my page on click of a link  function printDiv() {  var divToPrint = document.getElementById('printArea');  var newWin = window.open();  newWin.document.write(divToPrint.inne...
I have a table like this:  <table> <thead>     <tr>         <th colspan="1">a</th>         <th colspan="3">b</th>     </tr> </thead> <tbody id="replaceMe">     <...
I have an iframe using the jQuery 1.4.2 script. The same iframe is injected into both http and https sites.  The jQuery script is included in the main HTML file as a relative path (e.g., /scripts/jquery-1.4.2.min.js).  When an AJAX call is made, In...
I have project in which I need to create an <iframe> element using JavaScript and append it to the DOM. After that, I need to insert some content into the <iframe>. It's a widget that will be embedded in third-party websites.  I don...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.