We've written a plugin to the Xinha text editor to handle footnotes. You can take a look at:
http://www.nicholasbs.com/xinha/examples/Newbie.html
In order to handle some problems with the way Webkit and ... |
I am trying to create a dialog box that will appear only if the browser selected is IE (any version) however I get this error:
Message: HTML Parsing Error: Unable ... |
We have to add a basic HTML editor to our product. As we only support IE at present (most customers are still on IE 6), I have been told to ... |
The scenario is this. A web page contains:
- some DIVs whose visibility can be toggled with a javascript (fired from an hyperlink)
- a Submit button, whose response takes about 5 seconds
The hyperlink code ... |
I'm having a problem with SWFObject in IE.
The swf-file shows, but everything below the swf doesn't.
Here's the URL: http://timkjaerlange.com/wip/co2penhagen/
Any ideas to what could be wrong?
|
I have a link that uses javascript to submit a form, like so:
<a href="javascript:document.some_form.submit()">some link</a>
However, this will point to a vendor-supplied application that of course only works in IE. Is ... |
If I have the following line in html:
<span></span> wtf
and then I run the jQuery statement:
$("span").html("test");
It ends up looking like "testwtf" instead of "test wtf". Is there anything I can do about ... |
|
I'm using <!--[if IE 8]><![endif]--> for targeting IE8, but there's some JS that I want to load for all browsers EXCEPT IE8, what conditional comment should I use?
Edit: I wonder if ... |
I have been having this problem in IE. I have two divs which I use to drag selected elements from one to another. Lets say I have a child element (also ... |
I am using the following javascript to dynamically add rows in a table:-
var trObj = document.createElement('tr');
trObj.setAttribute('name', 'dynamicTR');
var tdObjEmpty = document.createElement('td');
tdObjEmpty.setAttribute('colspan', '2');
tdObjEmpty.innerHTML = ' '
trObj.appendChild ...
|
Problem i encounter with outerHTML using IE Browser
if i say:
txt="Update Complete!";
msg = sub.appendChild(d.createElement("p"));
msg.outerHTML = txt;
It Works Fine:
But if i say
txt="1 Error:<ul><li>Some Error</li></ul>";
msg = sub.appendChild(d.createElement("p"));
msg.outerHTML = txt;
Gives me an error of:
Message: Unknown ...
|
I have the following HTML w/Javascript code (note: this only works in Internet Explorer):
<script type='text/javascript'>
function changeIt() {
var startTag = "<span class='h' id='123abc'>";
var endTag = "</span>";
var htmlStr = document.selection.createRange().htmlText;
...
|
I'm porting a piece of JS code written for Firefox into Internet Explorer. I faced a problem of changing style of an element using setAttribute method which was working on Firefox.
button.setAttribute('style', ...
|
I've got an HTML page with a select and another control. I want the type of the second control to dynamically change depending on the value selected in the first control.
Here's ... |
For the following JavaScript:
function EscapedString(str) {
var obj = document.createElement("span");
obj.innerHTML = str;
return "&#" + (obj.textContent || obj.innerText).charCodeAt(0) + ";";
}
alert(EscapedString(" "));
alert(EscapedString(" "));
alert(EscapedString("\xA0"));
IE returns   for each value instead of ... |
I have a javascript that does this (http is your XMLHttpRequest object)
var r = http.responseXML.getElementsByTagName('item');
The issue is variable r is always an empty list if the response contains non-English character (r.length ... |
I have added the social links in my html page.
When I added, the top nav of my pages is gone.
Tats appeared in firefox but not in IE.
Any one help me how ... |
I've got a problem about onbeforeunload recently that I need to pop up a voting page when users try to close their IE browsers.I did it by using:
<body onbeforeunload="makevote()">
And the ... |
Can anyone please tell me how do I make this script run in IE 7? When I run this , nothing happens.
<html>
<head>
...
|
Find below the js function that I'm using to add a new date field & 'Select Venue' link to an existing div with id 'coursedates' . Problem is this works fine ... |
I've got a page full of links to another page with anchors on the end (like this: index.html#anchor). On the page they point to, I have a script that is supposed ... |
I have a page that requires user input then it will execute some javascript and populate fields on the page. Part of this includes calling a perl script that will run ... |
i have created a script to associate data to dom nodes, something like the jQuery.data method. Basically the script sets a property on the node that is the key of an ... |
I am in the process of converting my application to use XHTML strict mode (it didn't have a DOCTYPE before). However, I noticed a significant degradation when getting offsetHeight/offsetWidth. This is ... |
I have an HTML page that has this doctype:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
However, the HTML contains this tag:
<applet src="blahblah"></applet>
(EDIT: actually the HTML doesn't contain the applet. The applet is ... |
I have a code like this:
(this is a pop-up)
<body onblur="window.focus();">
<form id="ronny">
<select id="select1" name="select1">
<option> 1b </option>
<option> 1a </option>
</select>
<select id="select2" name="select2">
<option> 2b </option>
<option> 2a </option>
</select>
Now, my problems are:
- In FF - when i ...
|
I have Operation Aborted each time I Refresh my website's page.
I read the article of MSFT about this issue, and I dont have that case.
I have a div inside the body ... |
I am wondering my IE6 and IE7 is messing up dynamic HTML generated by JavaScript (use with FancyBox and jQuery).
For example:
var html = '<a href="#fancyBoxContent" class="fancybox"></a>';
document.getElementById('container').innerHTML = html;
Instead of filling the ... |
I am looking for a code sample on how to place a VLC player (latest version) on a web page and have it play a movie file. Pure HTML/Javascript.
Target Browser ... |
This JavaScript works in Chrome, Firefox, Safari but not in Internet Explorer. It sends the page layout everywhere.
Any Ideas?
var slideimages = new Array()
var slidelinks = new Array()
var ImageArr1 = new Array("images/mefish.jpg", ...
|
I have come across a requirement to disable the drop down items through the following javascript code.
function alertselected(selectobj){
alert(selectobj.selectedIndex)
if(selectobj.selectedIndex ==1){
alert('15656');
document.getElementById("reportFlag").disabled=true;
}else{
...
|
I want show a message to users if they're using IE6 that the browser is outdated in a div. There is something done to do this?
|
I'd like to develop an Internet Explorer extension that changes the content of a specific webpage, like content scripts in Google Chrome. (eg. when I go to the website Google and ... |
I've a little snippet code that doesn't work in IE only, tested in FF, Safari, Chrome, Rockmelt and all working.
JS:
document.forma.score.value = 12;
html:
<input name="score" id="score" type="text"/>
|
What's the best way to play sounds without flash in IE7+? I'm specifically targeting IE browsers for this. Is the <embed /> tag correct? I've never messed with sounds in HTML ... |
I am working with jquery.carouFredSel-4.0.3-packed.js for the carousal and it works good with IE9 and mozilla,but in IE7/8, it says "LOG: carouFredSel: Not enough items: not scrolling " whenever i am ... |
I am trying to create a simple Modal window, but IE isn't cooperating. When I call this function in IE, the content appears at the bottom of the page under all ... |
Hi all,
I have used Flexigrid in my interface.It is working fine in FireFox.But when I load the page in IE the table header only getting ... |
Why is this simple thing not working in IE 9? It works just fine i FF and Chrome.
<script language="javascript" type="text/javascript">
function displayBusinessCardData() {
...
|
I had a table element in my Html file of FCK editor which i tried to replace with new table element using parentNode.replaceChild method.Though it works fine in Internet Explore 8 ... |
I am having trouble with this code in IE (with Chrome it seems to work fine):
<html>
<body>
<script type="text/javascript">
var scriptContent = "var whatever=1";
var _js = ...
|
The software I am currently working on generates a set of web pages which can then be burnt to CD or DVD with an autorun tool, which launches the default browser.
The ... |
I'm writing a demo page that will display a demo and people can get the source code of the demo.
I use this method to do it: store the source code of ... |
In modaldialogBox when use the dialogHeight and dialogWidth the size of the dialogbox is not increased in IE.
I want to disable the scroll bar in the modaldialogbox and display as whole ... |
I am working with ie6 (unfortunately) and i am having a javascript error. Its wondrous error message gives me a line in the html source, but unfortunately the javascript that does ... |
I have problem this script dont working in IE 8 in Firefox is everything OK.
<html>
<style type="text/css">
lip{ position:absolute; }
</style>
<body>
<ul><lip>3<input type = "checkbox" name = "LH3" ...
|
I have a appendChild JS function that works beautifully in all the browsers except IE.
I am using a JS array and appending this data to a table.
http://jsfiddle.net/2waZ2/51/ ... |
I am trying to implement a browser support feature on my webpage. For Firefox 3.6 it is working fine, but for some reason IE 8's userAgent is returning a wrong value.
Here ... |
Im having a really weird IE problem that I can't figure out what the root cause is. I'm hoping to get an explanation as to what internally is going wrong. ... |
My site: FIFA Encyclopedia
A long time ago I made some big changes and incorporated a lot of PHP and used some Javascript to make the right and left sides ... |
I have a html page with a form in it. In this form, I have 1 input field available for users, with it's type set to file. The form is usually ... |
Hm, its very strange Ive created a simple testing file and there I could append the element(s) correctly. So then I recreated the original HTML file step by step and created a new JS file, copying the JS from the old JS file step by step as well and then it worked as if it had always been like that. It ... |
|
var xmlHttp function CheckField(field) { xmlHttp=GetXmlHttpObject() if (xmlHttp==null) { alert ("Browser does not support HTTP Request") return } var url="include/check.php" url=url+"?op=ajax" url=url+"&field=" +field.name url=url+"&value=" +field.value xmlHttp.onreadystatechange=stateChanged xmlHttp.open("GET",url,true) LastField = field.name; xmlHttp.send(null) } function stateChanged() { if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete"){ if (document.getElementById) { x = document.getElementById(LastField); x.innerHTML = xmlHttp.responseText; x.style.display = "block"; } else if (document.all) { x = document.all[LastField]; x.innerHTML = ... |
Code: // Add media function addMedia(obj) { if (opener.document.getElementById('media-' + obj.id)) { alert('Media already exists.'); } else { var el_main = opener.document.getElementById('media-container'); // Create list element el_Media = opener.document.createElement('li'); el_Media.id = 'media-' + obj.id; el_Media.className = 'thumbnail'; //el_Media.onclick = function(){this.parentNode.parentNode.removeChild(this.parentNode);}; // Create hidden input field el_INPUT = opener.document.createElement('input'); el_INPUT.name = "media[]"; el_INPUT.value = obj.id; el_INPUT.type = "hidden"; // Add mediaThumb el_IMG ... |
|
__________________ Three gigs for the secretaries fair Seven gigs for the system source Nine gigs for the coders in smoky lairs One disk to rule them all, one disk to bind them One disk to hold the files, and in the darkness grind'em --------------------------------------------------- It is by caffeine alone that I set my mind in motion. It is by the beans ... |
|
|
Hello everybody, I am setting up an ajax application with anchors to keep the browser history and stuff. It works as hell in IE7, FF, Safari, Opera and so. It only fails in IE6 because for some reason IE6 cuts the anchors when it has a ? (question mark) on it. For example, if I have an URL like this: http://www.mysite.com/index.php#news?pag=3 ... |
maybe you guys need more code?? Code: function ajaxContent(xmlfile){ var ajaxRequest; // The variable that makes Ajax possible! try{ // Opera 8.0+, Firefox, Safari ajaxRequest = new XMLHttpRequest(); } catch (e){ // Internet Explorer Browsers try{ ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try{ ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){ // Something went wrong alert("Your browser broke!"); return false; ... |
Hello all, I have been having this error for the best part of today and I simply don't know where to start with fixing it. Basically I have a link that opens a new window allowing a user to upload a file. Upon the file being uploaded a series of JavaScript commands add a new row to an HTML table in ... |
hi , i have developed an application using php,javascript,html and postgresql. i have problems in running my pages in MACINTOSH machines.(everything is fine when i run it from IE in windows but am facing many problems in MACINTOSH internet explorer in MAC) many functionalities in HTML (eg moving divisions) and many javascript codes are not working in mac ie. can anyone ... |
|
|
The following code is being used to add a div to the parent page from within an iframe and is working in Firefox, Chrome and Opera but not in IE6 or IE7 (the other IEs haven't been tested yet): parent.window.document.body.appendChild(newDiv); Can anyone suggest what the problem might be and whether there's a way round it ? Thanks in advance. |
|
|
It doesn't pop up with an error message, it's just that the table just doesn't appear Code: [Select] function tableBuild () { var container = document.getElementById ('container'); // build head ... |
Hi, I have created list items using and - . It's works fine in Firefox but in ie 6 and ie 7 I could not see the list bullet. Here is the steps I did: I have a Global ul , li reset value. after that I have created two column list using two
block. and in cs I am ... |
I have a problem with this peace of JS - it works fine in Firefox and Chrome - but not in IE(7). I keep staring at it but I can't figure it out - any ideas which part is not supported in IE7 and what the workaround is? Code: |
Code: // Add media function addMedia(obj) { if (opener.document.getElementById('media-' + obj.id)) { alert('Media already exists.'); } else { var el_main = opener.document.getElementById('media-container'); // Create list element el_Media = opener.document.createElement('li'); el_Media.id = 'media-' + obj.id; el_Media.className = 'thumbnail'; //el_Media.onclick = function(){this.parentNode.parentNode.removeChild(this.parentNode);}; // Create hidden input field el_INPUT = opener.document.createElement('input'); el_INPUT.name = "media[]"; el_INPUT.value = obj.id; el_INPUT.type = "hidden"; // Add mediaThumb el_IMG ... |
I found your post while searching for a solution to the same problem. I just fixed it by changed the Content-Type in the header of the XML document I was working with from application/xhtml+xml to text/xml. I'm able to use getElementsByTagName on it now, so hopefully the same solution works for you without breaking something else you're doing. Good luck, Brian ... |
Code: if(document.getElementById) { window.alert = function(text) { err(text); } } function err(text) { document.getElementById("alert").innerHTML = text; setTimeout('document.getElementById("alert").innerHTML = ""', 3000); } function makeRequest() { if(window.XMLHttpRequest) { try { return new XMLHttpRequest(); } catch(e) { req = false; } } else if(window.ActiveXObject) { try { return new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) { req = false; } } else { err("You browser doesn't support ... |
function addphoto() { var photos = document.getElementById("photos"); // the element that containts the fields // create a label for the file field var title = photos.appendChild(document.createElement("strong")); title.innerHTML = "Photo " + count.value; // create the file input field var file = photos.appendChild(document.createElement("input")); file.setAttribute("type", "file"); file.setAttribute("size", 70); file.setAttribute("name", "filPhotos[]"); // create a label for the text field var caption = photos.appendChild(document.createElement("strong")); caption.innerHTML ... |
function initRequest(url) { if (window.XMLHttpRequest) { req = new XMLHttpRequest(); } else if (window.ActiveXObject) { isIE = true; req = new ActiveXObject("Microsoft.XMLHTTP"); } } function changeLocalidad() { if (!target) target = document.getElementById("provincia"); var url = "AjaxServlet?provincia=" + escape(target.value); initRequest(url); req.onreadystatechange = processRequest; req.open("GET", url, true); req.send(null); } function processRequest() { if (req.readyState == 4) { if (req.status == 200) { var ... |