Hello. Could you help me pls with one problem? I need to multiple selection of categories for the same time as well as 'All' button which will toggle all elements.
Here is some code:
$(function() {
//All Category
$('#5').click(function(){
$('ul.thumbs').toggle();});
//First Category
$('#6').click(function(){
$('a.6').toggle...
Hello,
A Iframe is dynamically add just after BODY tag and it breaks my all site, So i want to find IFrame which is just after BODY tag and remove it using JQuery. It also adds some Js so, i want also to remove this.
Please help me.
HTML Markup
<body>
<iframe></iframe>
<script type="text/javascript">
//<![CDATA[
(function(){
var c = do...
I have listed data for ASP.net control TreeView. I wanted to disable a particular node/parentnode in the listed TreeView. I wanted to do this using jQuery.
...
I have a UI using dynamic tabs, so content can be loaded into a tab and then the tab can be closed and the content removed from the page.
When I load content into a tab I attach a lot of events to elements using jQuery.
What happens when I remove these elements from the page? Does jQuery need to know?
Also, does it matter if I attach ...
Hi,
I want a draggable div to include a clickable link.
Everything works fine until i drag and drop the div.
The link inside seems to unbind after drag/drop.
Anyone?
Thanks!
Dirk
...
Dear Stackoverflow,
I am seeking to perform a basic form post, but the following submits to the server twice in Chrome and Safari (but behaves as expected in Firefox):
<form id="create-deck-form" action="/decks/create" method="post">
<fieldset>
<legend>Create new deck</legend>
<label for="deck-name-field">Name</label>
<in...
Hi
I have a pagination system like this:
[content]
1 2 3 Next >
when you click on 1/2/3/next the [content] element gets replaced trough ajax.
the problem is that the screen focus moves up if the new height of the [content] is larger than the previous one.
can I force the screen to stay focused where where the pagination links are?
...
I want to create a imageslider using javascript. I have found this script. But I can't find tooltip in this. I want to do exactly like in this website. I would appreciate any help.
...
Hello,
I am new to Jquery and in learning phase.
I have written a test program in it.
<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("Button").click(function(){
$(this).parents(".ex...
Are selectors or functions faster in jQuery? Example:
$('#something div.else'); // find multiple divs with class .else
or
$('#something').children('div.else');
I'm trying my best to optimize a page with hundreds of returned elements that seems to hang on a certain crappy computer here in the office (that must use Internet Explore...
Hello,
I have a function that I bound with scroll() event, but the fact is I want the function to be triggered only in case of vertical scroll ( I have some horizontal scroll too).
I didn't see such possibility in the documentation of jQuery, might there be a trick to do so?
Thanks a lot :)
...
I have the following:
<div class="container">
Test 1
<div class="child">Testing</div>
</div>
<div class="container">
Test 2
<div class="child">Testing</div>
</div>
<div class="container">
Test 3
<div class="child">Testing</div>
</div>
I wish to have the child div inside the container thats hovered over to show and hide when the mous...
I would like to create multiple grids and switch between them using a dropdown. They occupy the same screen real estate but only one is visible at a time. I have tried to implement this using a CSS class with display none, then using the dropdown to call jquery's show method on the desired one. However, the grid's vertical scrollbar is m...
I want to hide a div when clicked on a document but I dont want to hide that div when someone clicks in it or clicks a link or a button in it. Also, I have some links inside that div set to prevent the click action (return false;) and send a ajax request.
I tried:
$(document).click(function(e) {
$('#bubble').hide();
});
$('#bubb...
I am suspecting in file
http://github.com/tkyk/jquery-history-plugin/blob/master/samples/ajax/ajax.js
line 13 and 14
load(url);
$.history.load(url);
in Firefox, Chrome, and IE 8, I see that the page is loaded twice when 1, 2, or 3 is clicked on.
Is it true that line 13, "load(url);" can be removed because $.h...
I am using the jquery form plugin (http://jquery.malsup.com/form/) but I want to handle a special case when a user tries to post to the site without being logged in.
The backend returns a 403 (forbidden) response in this case - which is working ok - but the 'error' callback doesn't fire and if I use the 'complete' callback, the XMLHttp...
I am using jQuery bgstretcher to "stretch" my background images. If you are not aware of bgstretcher it basically does a proportionate stretch and scale. I hacked it a bit so instead of using the built in slideshow I am using click events for some arrows that will change the background image. Everything works well. By default the bgs...
I have a list of tasks that are all draggable and droppable. All of them have an 'over' event handler to make sure they light up when another task is hovering over them.
This is not working fully as I want it to. When I start dragging one task, the other tasks don't light up as expected, except when the mouse is not actually above the d...
Hi
Basically I've got textboxes called dimension[0][scale], dimension[0]width etc.
How do i pass the the elements 'dimension' as an array? I've tried $('input[name=dimension]').serialize() and doesnt seem to work.
...
Hello, I'm loading some content (NOT THE HTML headers or anything, just HTML formatted content from a PHP) via jquery .load() into a div.
It works, perfectly for everything BUT some Flash-based amCharts (www.amcharts.com) dynamically loaded with amCharts PHP, using swfObject. The file, loaded seperately, works and loads the Flash charts...