I'm building a photo gallery and what I would like to do is make it so that as the user rolls over an image (let's say for the purposes of this question it's a picture of an apple), all the other images of apples on the page also show their "over" state.
Any and all help would be greatly appreciated, and thank you for your time in adva...
I use
$(window).bind( ... )
to set up event handlers, but for some reason I keep losing event handlers (i think).
Is there any way when debugging (firebug) to see which custom events have been added to a given element?
Yours
Andreas
...
Hi FOlks,
ive got the problem that i dont know how to stop my function with mouseover and restart it with mouseout
first here is my test-code:
<script type="text/javascript">
function fadeEngine(x) {
var total_divs=3; //setze hier die nummer der gewollten divs
var y=x;
...
Is there some way I can show custom exception messages as an alert in my jQuery Ajax error message?
For example, if I want to throw an exception on the server side via Struts by "throw new ApplicationException("User name already exists");", I want to catch this message (user name already exists) in the jQuery Ajax error message.
jQuery...
I'm designing an interface to display sets of data. I'm interested in organizing the information in a customized format using DIVs and SPANs to identify where specific data will be (not in the typical row-by-row format tables provide) but still having the flexibility of sorting and organizing the data that most JS libraries provide for t...
Is it possible to rename all the tabs in a jQuery UI tab control? My tabs are numbered from 1..N, and it is possible to remove a tab from it. I want to "rename" the remaining tabs so they are numbered 1,2,3,4,5,6, and 1,2,3,5,6,7 when you remove the fourth tab. They should end up named by their 1-based index.
...
I am trying a straightforward remote json call with jquery. I am trying to use the reddit api. http://api.reddit.com. This returns a valid json object.
If I call a local file (which is what is returned from the website saved to my local disk) things work fine.
$(document).ready(function() {
$.getJSON("js/reddit.json", function (js...
JQuery Return Links Not working,
Dear all I have Used JQuery and basic ajax feature. My JQuery Returns the Links from Links_ajax.php
I giving the code samples.
GetCustomerData.php has
<html>
<script type="text/javascript">
<script src="ajax.js" type="text/javascript">
$(function() {
.......
Given a DOM element how do I find its nearest parent with a given css class?
$(".editButton").click(function() {
(magic container selector goes here).addClass("editing");
});
I don't want to use lots or $(...).parent().parent() since I don't want to be bound to a particular dom structure.
...
I hope this isn't a waste of time, however I have really been trying to figure this on out. Is it my syntax. I simply want to remove the parent div ".number-row" once the link with a class of ".remove-link" is clicked.
Thanks in advance
<script>
$(document).ready(function(){
$(".remove-link").click(function() {
$(this).parent(...
in asp.net 2.0 (not mvc), the form's action is to itself. how can I use the forms plugin to send information to server?
I need to send data from the form (let's say name, email, comment) and to display the result on the client side.
Any ideas?
Thanks,
Dave
...
I see lots of JavaScript advice centered around making sure your web application still works when JavaScript is disabled.
But is that still an issue? What percentage of people do that? And are they are large enough group to actually care about?
I'm being asked to create more interactive pages by my customers (a la AJAX and JQuery for m...
I've got a form with a bunch of textboxes that are disabled by default, then enabled by use of a checkbox next to each one.
When enabled, the values in these textboxes are required to be a valid number, but when disabled they don't need a value (obviously). I'm using the jQuery Validation plugin to do this validation, but it doesn't se...
Hey all,
I am trying to find a way to load a JSON page to display my content, which I currently have. But I am trying to fade in each element one after another? Is anyone familiar with a way to do that?
Fade in each element with a slight delay?
Thanks,
Ryan
...
Hey Stackoverflow,
I'm trying to recreate the iPhone flick / scroll event in a window using JavaScript.
Starting with JQuery, I'm measuring the mouse's acceleration and offset during click - drag - release events using a timer:
var MouseY = {
init: function(context) {
var self = this;
self._context = context || wi...
I'm trying to include JQuery in my DotNetNuke skin by adding these two lines of code at the top of my DNN skin:
<%
Page.ClientScript.RegisterClientScriptInclude("jquery", "http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js")
Page.ClientScript.RegisterStartupScript(Me.GetType(), "jQueryNoConflict", "jQuery.noConflic...
One of the web pages on our site is extremely long. Although the page itself does not call any javascript or jquery functions, its base page registers the JQuery source script (jquery-1.2.6.js) and this seems to cause IE7 to display the "A script on this page is causing Internet Explorer to run slowly." message when you click on a link t...
I discovered to have some problem to fully understand callbacks scoping when trying to learn Jquery. I would add that i have little experience with the Javascript language The code:
var globDom; // placeholder for DOM fragment
// Getting xml file; jquery parses the file and give me back a DOM fragment
// saveXML is the callback
$....
I had a need for a certain functionality on my web apps and I use jQuery a lot, so I thought I would write a jQuery plugin. Since this is my first attempt to write a jQuery plugin, I would really like to get feedback from people, or maybe even get collaboration so others could work with me to modify/enhance my code. I thought the first...
Hi Everyone,
I've set up a number of accordions on a page using the jquery accordion plugin so I can implement expand all and collapse all functionality.
Each ID element is it's own accordion and the code below works to close them all no matter which ones are already open:
$("#contact, #address, #email, #sales, #equipment, #notes, #ma...