I am having a page with tab control and each control has almost 15 controls.totally there are 10 tabs. totally there are about 150 controls in a page(controls like drop down list, textbox, radiobutton, listbox only).
My requirement is there is button(submit) at the bottom the page. I need to check with javascript that at least 3 options...
I am writing a dhtml application that creates an interactive simulation of a system. The data for the simulation is generated from another tool, and there is already a very large amount of legacy data.
Some steps in the simulation require that we play "voice-over" clips of audio. I've been unable to find an easy way to accomplish this ...
Is there a case insensitive version of the :contains jQuery selector or should I do the work manually by looping over all elements and comparing their .text() to my string?
...
I have headers in <h1> through <h6> tags. Is there a way that I can use JavaScript to generate a table of contents for the contents that serves as anchor tags as well?
I would like the output to be something like:
<ol>
<li>Header 1</li>
<li>Header 1</li>
<li>Header 2</li>
<li>Header 3</li>
</ol>
I am not c...
Are there any IDEs for Javascript /HTML that allow visualizing the effects (like MochiKit), and streamline the website design process?
...
Hi,
I have an ASP.NET page which pulls a set of images from a database table, and using an enumerator, goes through all of them and displays then.
This all happens in the codebehind (VB.NET), where the code adds the placeholder and some controls inside tables (tables inside the placeholder).
I've added a button to this placeholder (in...
I've seen a number of references to gzipping a javascript to save download time. But I also see a number of warnings that certain browsers do not support this.
I have two different methods at my disposal:
use mod_deflate to make Apache compress JS/CSS files in a given directory through htaccess
use ob_start('gzhandler') to compress a...
I usually use jQuery as my JS library on my sites, and I would like to stick with it since I'm familiar with it.
I need to implement an AJAX autocomplete, mainly for suggesting search results. Here are a few I have found:
Dylan Verheul's version
Jörn Zaefferer's version
A modification of Dylan Verheul's version
If you have tried any...
Hello All
I have a custom aspx page loaded in a IFrame in one of the modules in MS CRM 4.0. This page basically has 6 textboxes (txtValue1, txtValue2 and so on..) with values in it. I want to access these values through javascript code either on the load event or save event. Does anybody know how to do it ? I tried couple of codes that ...
I'm curious as to if there are any best practices relating to JQuery when constructing encapsulated code blocks.
Generally, when I construct a page I like to encapsulate the functions used within that page inside an object. This allows me some encapsulation when building applications. There's nothing I hate more than seeing a JavaScript...
I have a page being loaded with jQuery. The initial load includes 100 records with 6 icons per record. Needless to say, it takes a few seconds to load and I want to give the user a "loading" prompt/animation.
Any ideas?
...
I want to write something that acts just like confirm() in javascript, but I want to write it myself so I can skin the dialog box. In having trouble thinking through how I would basically force the javascript thread to wait until the user responds and then return true or false.
...
I'm having some minor problems with some animations I'm trying to set up. I have a couple divs stacked on top of each other kind of like this.
<div id="div1">
Stuff...
</div>
<div id="div2">
More Stuff...
</div>
Each of these divs has a drop shadow applied to it via jQuery plugin (jquery.dropshadow.js).
The problem occurs when...
How to detect that the Internet connection is offline in JavaScript?
...
What is the MIME type of javascript?
More specifically, what is the right thing to put in the "type" attribute of a script tag? application/x-javascript and text/javascript seem to be the main contenders.
...
I am trying to animate a change in backgroundColor using jQuery on mouseover.
I have checked some example and I seem to have it right, it works with other properties like fontSize, but with backgroundColor I get and "Invalid Property" js error.
The element I am working with is a div.
$(".usercontent").mouseover(function() {
$(this)...
How to disable the Minimize button of FireFox Browser or How to hide titlebar of FireFox Browser. I am using Window.Open to Open Window in fullscreen Mode using javascript
...
See code:
var file1 ="50.xsl";
var file2 =30.doc";"
getFileExtension(file1); //returs xsl
getFileExtension(file2); //returs doc
function getFileExtension(filename) {
/*TODO*/
}
...
I want a checkbox on a web page. When I click it, it sends an ajax request to the server. When the server replies, I want the checkbox to change. I can fix everything except the fact that the checkbox immediately changes state when clicked.
...
What exactly is the difference between the window.onload event and the onload event of the body tag? when do I use which and how should it be done correctly?
...