Hi I am using uploadify and after the images are uploaded I wish to re-initailize the options so that the queuelimit is set to the remaining number of images.
The question is is there a way of reinitalizing the options of a plugin that is set up on document.ready only once.
E.g
$().ready(function(){
var options ={count:5}
$("div")...
How can I do a foreach(File file in Directory) kind of thing in jQuery.
Thank you!
...
Ok this is driving me crazy. I have a user account page. Where you have the option to change your password. I want a conditional jquery validation that if the user types in a new password in the new password box the box that confirms the password as well as the box that asks for the old password is turned into a required element. here is...
I'm puzzled on how to work this so not all of the <li> items load on a page refresh. The filtering works fine on each link selection in the <ul> "filter", but on a page reload, all <li> items show, not just the filtered.
Code is from http://net.tutsplus.com/tutorials/javascript-ajax/creating-a-filterable-portfolio-with-jquery/
HTML:
...
I have some news links, when user moves on that I have to change text of paragraph containing news in details.
...
How to check my change event fired or not if its fird I need send true if not i need to send false..
$("#selectid").change(function(){
});
I need to check this event is fired or not..?
thanks
...
Hello, I have a code in which I need to animate (flip) only the top part of the panel if the user clicks on the top or the bottom part of the user clicks on the bottom and leave the other panel stationary.
The HTML code:
<div id="about">
<div class="toolbar">
<h1>About</h1>
<a class="button back" hr...
I'm running an infinite loop of a color changing background on my website using the jQuery timers plugin (plugins.jquery.com/project/timers):
jQuery(document).ready(function($) {
$('body').everyTime(1,function() {
$(this).animate({ backgroundColor: "#000000" }, 20000).animate({ backgroundColor: "#ffffff" }, 20000);
});
}...
i am using this code and it is working on all browsers without a glitch but with IE all versions it`s not working can anyone help me with this
$('a.download').each(function() {
$(this).colorbox({href:$(this).attr('href') + ' div#download_popup',onComplete: function(){
$('div.sociable').hide();
$('a#share_button').click( fun...
I'm implementing the jquery Nested Accordion script found here:
http://www.adipalaz.com/experiments/jquery/nested_accordion_demo.html
While it expands just perfectly, none of the sections will collapse if you click on an expanded one. Can anyone help me see what's wrong?
This is the jquery:
$(document).ready(function () {
$('#m...
Hi all,
I'm trying to construct a table with dynamically build information.
My thought was to put DivA inside each of the cells, and then put DivB and DivC inside the DivA-tags (DivB showing a 'loading' img and DivC showing the contents). I would then like the cells to be updated using json calls to my ASP.Net MVC web application. Does...
I need to hide a div that has a certain string in it, using contains.. but jQuery is hiding all div's that are parents of the target div too !
$("div:contains('user_notifications')").css("display","none")
how do I tell jQuery to just match the div that actually contains that string?
Thanks
Edit:
here's the inner div that contai...
Hi
I am using asp.net mvc, C# and jquery. My site is uses ajax heavily. This has lead to a problem and I am not sure how to fix it( well fix it better than my current solution).
Scenario.
User logins into my site - cookie set, server has timeout of 30mins
User walks away for 30 mins
User comes back and clicks on one my ajax enabled j...
I have an element which is draggable and an element which is droppable. Once the dragged item is dropped on the dropzone I am trying to execute the following jquery psuedo code:
if(draggedelement == value){
$(draggedelement).hide();
}
else{
$(draggedelement).revert();
}
where the revert() function moves the dragged item back to it...
This is my first question on here, and I couldn't find any related questions that seem to have the same problem. I found a few people talking about .bind() to disable a link, but my problem is having multiple links that are in different parts of the site loading different pages.
So I am wondering if there is a simple ajax load method I ...
There must be a better way to select this element. Can someone please help me out. I've tried nth-child and last-child, but I'm not getting it.
Here's my code:
<li>
<div class="pic" style="width:300px; text-align:center;">
<img src='path/to/my/image.jpg' />
</div>
<p>
<span title="<?php echo $media_title; ...
I am using jQuery plugin (http://plugins.jquery.com/project/lwRTE) and oddly enough in IE8 when I close the RichText Editor (which opens within a lightbox), I am unable to select any text on the document.
This is a peculiar case and happens when TextArea of RichText Editor already contains some text and I 'give' focus to the TextArea an...
Given the sample markup:
<div>
<input />
<input />
<input />
</div>
How can one, via jQuery, determine that div has lost focus?
I can use focusout() but that's not quite what I need. With focusout, it will get triggered as one tabs from input to input, as it's actually detecting (via event bubbling) that the input is losi...
Basically I would like the dialog to remain in the same position on the page, even when changing the window size or switching to full screen window.
How can I always have the dialog positioned in relation to the site container div, rather than the window?
For example, my site container div is 960px wide and is centered on the page. I ...
Hi
I had this in jquery version 1.3
// ajax requests would get this method
$().ajaxStart(function (e)
{
$('body').css('cursor', 'progress');
});
Can you still do this. Every time I look though firebug and put break points these never get run. Do I have to move them now to the ajaxSetup?
...