How do I initialize an automatic download of a file in Internet Explorer?
For example, in the download page, I want the download link to appear and a message: "If you download ...
I'm making a page which has some interaction provided by javascript. Just as an example: links which send an AJAX request to get the content of articles and then display that ...
Actually I am trying to move some box alternatively with in another box. I made it work, but both the blocks do not interrupt each other. What should I do? How ...
Quick question,
If I want to document some code on a basic HTML and put that within a CODE tag, how can I quickly convert the code between those tags when the ...
Is it possible to replace javascript w/ HTML if JavaScript is not enabled on the user's browser?
I know I can use <noscript>this displays in place of javascript</noscript>
That works fine, but it ...
I found that quite a few "toolbar" in web page is implemented with HTML tag UL and LI with style "float:left".
Fore example, with the help of FireBug it is easy to ...
I want to draw an arrow using the canvas tag, javascript. I've made it using the quadratic function, but I'm having problems to calculate the angle of rotation of the arrow...
Anyone ...
I use this code for creating Summary of the Blog Posts at my blog Gadgetcage.com, In this JS code HTML tags are disabled by the author, I would like to remove ...
I believe javascript can be anywhere (almost), but I almost always see it in between <head></head>. I am using jquery and wanted to know if it has to be in ...
I've got a very simple snippet of HTML (below) - and both sections seem to be enabled - the script runs and the noscript tag's content shows. What's going on ...
A very general question.
I am dynamically generating a form that is split into multiple levels of tabs using HTML / JavaScript.
I want to highlight some of the fields (those that have ...
I've been handed a Coldfusion application to support and I noticed that CF is adding script tags to certain pages. It appears these js files are supporting certain CF tags ...
The noscript tag only detects whether the browser has JavaScript
enabled or not. If JavaScript is
disabled in the Firewall rather than
in the browser then the JavaScript
will not ...
Having developed web apps since 1996 I often find new ways of doing old things. So I was wondering what is the proper JavaScript tag to use on new development?
Currently I ...
is it possible to make a section within a contenteditable element permanent, so that a user cannot remove it?
I have an h2 tag in a contentEditable div. I don't want ...
Considering the negative effects of document.write(), why are most tracking/marketing tags written using document.write()?
I've thought about it quite a bit, and the only respectable idea I've come up with is that ...
I've got a script that changes the background colour of text that has been selected. However i'm encountering an issue when the text is selected across multiple elements/tags.
The code that ...
This is an Explorer only problem and the symptoms are:
I have links that when clicked will load in HTML chunks (none of which contain html header tags) using javascript. The ...
I have implemented Codemirror http://marijn.haverbeke.nl/codemirror/ to work as a live text editor within an application and it works perfect.
The only thing I would love to do is create a ...
Today I was looking for website optimization content and I found an article talking about move JavaScript scripts to the bottom of the HTML page. Is this valid with W3C's recommendations?
I ...
I wrote an ajax program.when i am getting response, at that time i will display
that content in my web page using html tags.
So how can I use html tags in ...
I am facing a very strange issue because of which when i do not add the below line to the html the layers(z-index) is not working.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 ...
I been finding that for something that I consider pretty import there is very little information or libraries on how to deal with this problem.
I found this while searching. I really ...
I am using CKEditor 3.2 and I am facing the problem to hide the HTML tag which is showing in bottom on CKEditor. Is anybody have done this type of customization ...
I make a small web application that retrieve data and my clients copy information in the web page and paste data in excel
the problem is that copied data contains "html" elements ...
Edit: While this question has been asked and answered before (1), (2), (3), the answers have not mentioned the possibility of using asynchronous and /or lazy loading when ...
I'm completing the development of a site I didn't build (I designed it, but another has built it so far) and recently when I visit the site in Chrome I get ...
i want when click the image will active the link by id='loadimg'
how can i do i try write onClick="window.document.getElementById('loadimg')" but not work
Than you
...
I recently found a javascript image gallery, and noticed that it changes the title attribute in the <li> tag. I was wondering how I could make the title information display as ...
I'm making some examples for javascript; they are not really usable. This one is interesting - it works on Chrome (and other using webkit), and Safari. So can someone suggest any ...
I read id3 tags with SoundManager, but it looks like some tags are encoded in ISO-8859-1. For example, Áåòõîâåí. This decoder detects it as a CP1252, however.
How ...
I'm writing text editor, with some special formatting features, using iframe in design mode. I got a problem when setting cursor position in empty element, e.g.:
I'm writing simple suggestions for tags input.
I'm having problem with replacing currently typed word with one from suggestion list. How to do that with JavaScript?
For example when user types "tag1, A|" ...
I'm trying to set up a onbeforeunload tag to stop a user from leaving specific pages if and only if they have unsaved content, and only on specific pages (we're using ...
i have this really weired js problem.
in summary, i get a element not found if i use (document.getElementsByTagName("p"))[0]
and if the p tag is inside a div like this
friends.I'd like to do something like this: A DIV in a web page contains some text,for example ,Hi,hello world ,and the position(100,100) of the page point to the char 'e'.I do ...
the site mcohenlawyer.com when open on FireFox/Chrome/Opera/Safari works well with any zoom. but on InternetExplorer the site looks good only with 100% zoom. in IE7 the default zoom is ...
I know that Vim has sophisticated support for tags but I am struggling to get them to work with JavaScript and TCL.
I am using Vim 7.2.330 under Ubuntu Lucid, a standard ...
var e = document.createElement('div');
e.innerHTML = '<math></math>';
var mathMLSupported = e.firstChild && "namespaceURI" in e.firstChild && e.firstChild.namespaceURI == 'http://www.w3.org/1998/Math/MathML';
I have an extremely large picture of a map. Now I want to create a Map UI where the user can click to highlight regions and also have the functionality ...
Hi
I'm trying to add custom tag to JSDoc-toolkit. Only useful site I found was this: Using custom tags but it doesn't work.
I also tried just {+data.comment.getTag("customTag")[0]+} with no luck. ...
Recently i have started working on the Tag Cloud stuff on web site to enhance the search UI. However i am very new to this concept and would like to know ...
I am embedding a website into my application, and Adobe Air does not recognize the breakline HTML tag in the source code (Firefox and Chrome auto-correct the error). I have ...
I'm not talking about in the URL. I know what that does. I'm talking about how it's used in actual code.
After trying to assign it as a variable, I realized that ...
Did anybody face to such issue?
I have CKEditor completely installed and worked BUT whatever i type in there (for example Hello world) i always get tons of ugly formatted HTML such ...
Firefox inserts a <br /> tag on press enter whereas the other browsers are adding either a <p> or <div>. I know that chrome and safari are inserting the same tag ...
I'm new to flickr and the flickr API and I use photo sets to organize my photos.
In an application I'm developping, a need to be able to tag photo sets rather ...
I have been looking at some tracking issues and have a question pertaining to the launching of scripts. Can someone tell me if there is a difference between: ...
In my application, I sometimes have to create elements dynamically, so I create them in javascript, but it make it hard for maintenance.
For example:
The above image ...