Hello,
I'm working on a web service,
when the user requests more data through ajax, I want the div that will contain the data to show a loading circle. I wrote a css class in the style file for when I want the circle:
.ajax_getTeams_loading{
background: url('ajax-loader.gif') no-repeat center center;
}
So my ajax function is like...
Hi again , i come now cause Opera is giving me more job than what a think , the problem is the next :
$('.colourbox').click( function()
{
$('.colourbox').css('border-color','#a3a3a3');
$('.colourbox').attr('data-selected','no');
$('.colourbox').children().css('border-color','transparent');
$(this).css('border-color','#22...
i have this jquery script that is meant to append input boxes, its wont happen, i dont know why?
jquery:
$(document).ready(function() {
$(".login").click(function(){
$(".login").hide();
$("div.swap").append("<input name="username" id="username" type="text" maxlength="16" />");
});
});
html:
<div class="swap"...
Is it necessary to stop an animation, before animating the element again? For example, I am resizing an element from size [200, 200] to [800,800]. Half way between the animation, I want to resize the same element to [600,600] instead of [800,800].
Should I use .stop() to stop the animation before using the .animate() function on the s...
Where can i put my design to criticism and discussion ?
I want to get the opinion from professional designers :)
...
i have an ajax call that updates 5,000 records in a database so this takes a lot of time. I have a ajax "Loading image" showing that something is happening but i am looking for a better way to show . . "Updating 50 of 5000 . . .", "Updating 200 of 5000", or something like that.
what is the best way to do something like this in ajax /...
I copy pasted the code from http://jqueryui.com/demos/slider/range.html for local testing. And what I see is different from what the url shows. When I click the slider "big dots" (used to change the value) the dot image gets a dotted border around it and it doesn't go away after I release the click until I focus another element on the pa...
Hey everyone,
I'm using some jQuery that works fine in all browsers except in Internet Explorer 8 (and probably not the earlier versions although I'm not as worried about those.). I'm using jQuery's .each function to loop over every element in a JavaScript array that is auto generated on my page by the fairly inflexible CMS I'm using.
...
I'm moving itmes from one ASP.NET ListBox control to another ListBox control from client-side. It works on the client-side but when I tried to count items in
destination ListBox on the server-side, it's always nothing. Below, is the jQuery code used to add/remove items from ListBox control.
<script type="text/javascript">
$(document...
I need circular progress indicator. Are there any plugins for this and if there is not, how should I implement this kind of plugin?
EDIT:
What I'm looking for is what jQuery UI has in their planning page, but its not yet implemented. I'm just curious if anyone has implemented this before. See item 6 in following image.
http://wiki....
hello,
starting point is example showed on next link:
http://gmaps-samples-v3.googlecode.com/svn/trunk/sidebar/random-markers.html
i added new (second) div panel, and i would like that when end user clicks on one of items showed on left panel, it shows more information about it on new div panel.
so, how can i "read" on which item end...
I am having a hard time determining if data passed into the jquery template exists and is false without getting errors. This is what I am using to test
<html>
<head>
<title>jQuery Templates {{if}} logic</title>
</head>
<body>
<p id="results"></p>
<p>How do you test if the Value exists and is false?</p>
<script id="testTemplate" type="...
I seem to have a problem with some jQuery, and I can't figure out where I am going wrong so I just want to take ie7 out of the equation by excluding it, can this be done with jQuery?
...
sorry if my question deosnt make sense, but thats the best way i can put it, i have this jquery script that when user clicks the login link, it appends the html form to do so, which works fine, but the appended(login-form) uses jquery to log into the site, but it deosnt seem to detect the javascript,
oppose to when i put the login form ...
Hi,
I want a function to be triggered on every ajax request is sent from a document, and another function to trigger when that request is completed.
This code is to be independent with the code which triggers the ajax request.
I remember it can be done in prototypeJS easily, but I haven't done this in jquery.
Thanks
...
I'm trying to implement Jcrop with a list of images. At the moment, when you click the link to crop, a lightbox loads an ajax call with the image and all the cropping tools and everything is working great. I've tested across several images in the db and all looks good.
however, once I crop the image and the lightbox closes, if I then tr...
I'm nearly complete with this, so I have one final bug I need your help figuring out.
I'll start with the issue first...
Demo: http://jsbin.com/ucalu3/7/
Scenario 3 doesn't work. When you click "expand all" and click a question to collapse the answer, it works just fine. The issue is, now click "collapse all" and it will expand all th...
I'm am making a button that when clicked reveals a box with html inside. I'd like to hide that box if anything is clicked other than inside the same box. Any suggestion?
...
I keep getting comet when I search for this, but comet seems to complex for my needs, i.e. 100 users max with probably 10 users online at a time.
Is there are better solution for my requirements, i.e. be able to push data to clients, probably between 10-20 clients max at a time.
...
$( "input[role=submit_action], button[role=submit_action], div[role=submit_action], span[role=submit_action], a[role=submit_action]").live( "click", function() {
});
and this too:
$( "input[role=submit_action], input[role=submit_require]").live( "click", function() {
if ($(this).attr('role') == "submit_action") {
// ...