I working with jQuery and I need to get anytime and anywere exception (with any operation), if I attach some event or try to perform some action with elements (got from selector) that don't exist.
Is there some internal "strict" mode in jQuery for this issue?
...
hi,
i'm changing an existing email signup form to use the feedburner signup (opens in a popup), but want to keep the existing one in place aswell. i was hoping this would work, but it display a blank page. the existing signup script returns complete page containing yet another form.
$(document).ready(function() {
$('#subscribe_fo...
I'm using the 3d image carousel available at http://www.professorcloud.com/mainsite/carousel.htm .
It's great but I've hit a wall with regards to transparency support for IE6.
As the images are being manipulated by javascript after they are loaded, it's quite a headache. All the mainstream png fixes fail in one way or another...eithe...
I am grabbing data through a jQuery Ajax call, and displaying it on the page. I need to wait for both the DOM to load and for the Ajax call to complete before I can use the data to display it on the page. Can an Ajax call ever complete before the DOM has loaded? I'm just trying to determine where I need to put my method that will mani...
I have a basic page to which I'm adding an uploader control based on Bulk Uploader at c-sharpcorner.com and the control is in a jQuery-faded div based on yesdegisn
The Bulk Uploader has two server side event handlers for two buttons--Add and Remove. After clicking these buttons, the fade disappears and you're back to the basic page--if ...
I'm trying to get some pre-existing MooTools code to function properly within a Drupal site. I know the MooTools code works on its own. Once I load the MooTools library in the page, jQuery stops functioning.
I am including MooTools after jQuery, which (according to the MooTools developers) should prevent Moo from stealing the already de...
I would like to select every div that has a red background color for example.
is this possible in jquery?
<div style="background-color:red"></div>
<div style="background-color:white"></div>
<div style="background-color:red"></div>
<div style="background-color:yellow"></div>
thank you
...
I have code which is trivial but only works in IE not Firefox.
$(document).ready(function(){
$('li#first').click();
});
I have also tried:
document.getElementById('first').click();
But that doesn't work either.
Is this an IE bug/feature or is click() not supported in the other browsers?
Responding to comments:
There is a si...
When does JavaScript evaluate a function? Is it on page load or when the function is called?
The reason why I ask is because I have the following code:
function scriptLoaded() {
// one of our scripts finished loading, detect which scripts are available:
var jQuery = window.jQuery;
var maps = window.google && google.maps;
i...
Hi,
I have a set of images that for each one I would like to rollover and flicker to a different image for half a second or so, then revert back to the original image, even if the mouse is still over the image (ie there's no mouseout)
setTimeout was suggested but I can't figure out how to use it properly.
http://thepool.ie/rollover/
...
Hi. We're building a site and wish to build for the same set of browsers Google Apps/Docs and YouTube support. Though not recommended, they seem to be detecting specific browsers/versions vs. features/functionality. What's the best way to support a minimum set of browsers while displaying a message to the users of older browsers to upgra...
I'm using the AJAX plugin from Andris Valums:
AJAX Upload ( http://valums.com/ajax-upload/ )
Copyright (c) Andris Valums
It works great, except for the fact that I cannot send proper JSON as a response.
I'm setting the headers to 'Content-Type', 'application/json' before sending the JSON-encoded response, and in the plugin I'm sayi...
The question is likely confusing and I apologize. I wasn't sure how best to word it.
I am using jqGrid in a jQueryUI dialog which is inside a form. The user will use this form to create and edit Events.
Upon editing, the user can click a button to open a dialog showing a grid of saved locations for the event. I want to give them the...
I have a form text field that I want to allow only numbers and letters in. (i.e., no #$!, etc...) Is there a way to throw up an error and prevent the keypress from actually outputting anything if the user tries to use any character other than numbers and letters? I've been trying to find a plugin, but haven't really found anything tha...
i have a slide up function and a slide down on my script, everything works. The problem is that the DIVs are collapse and not hidden how would i be able to hide the divs on page start up. i tried to set the DIV to hidden but no luck with that.
...
I want a book that gives a detailed account of building a rich front end interface like gmail.
is there one around?
There are books that go over concepts, but I need something to put it all together.
Guess I am looking for more of a 'solutions' approach, rather than a reference type book.
...
I'm using the jquery .load() function to pull in data to populate a div with. The content I'm pulling in has CSS selectors that should match up with jQuery click functions I've written. However, when I load in the data, although the correct CSS selectors are there, when I click on areas that should invoke a response from jQuery, nothing ...
I am adding events via a coldfusion cfc, that supplies the data, in correct
format, I believe.
It successfully returns data, there are no javascript or jquery errors.
I have a function that get's the data, upon clicking on a list of possible
sources of data, I wish to display in the calendar.
When I click it does load the data, but ...
I'm trying to de-couple my dependence on JQuery, as such - I have the following JQuery:
$("#myDIV li").eq(1).html('...');
$("#myDIV li").eq(2).html('...');
$("#myDIV li").eq(3).html('...');
How do I perform the above code without using JQuery (just plain JavaScript).
...
I have a page with two scroll bars. I am using the scrollTo jquery plugin to jump to other areas on the same page. The problem is I only want the inner div to scrollTo and the outer div to remain at the top of the screen.
Development site link click here
This is the script
$(".jump > li").click(function() {
var qu = $(this).attr("...