Hi guys,
I have a bunch of fields that have the same class, now what I am trying to do is get the id and value of each one, create an array, and then using $.ajax send it to a PHP script, which will run through each one and enter it into the database.
I tried using JSON, but my server does not have support for json_decode, which is ess...
I want it to slide up from the bottom right about my main nav menu just like this site. jefflewisdesign.com I know that site is down in flash but I know that nav can be done in jquery. thanks.
Here is how I have it so far.
<div id="slidebottom" class="slide">
<h2>Item</h2>
<div class="inner"></div>
</div>
$(documen...
Hey guys,
I'm trying to toggle the contents of a span tag on and off using a jquery function.
I'm using a span tag as I want the contents to be inline with the rest of the data on the line when it gets toggled. On page load the image I want to toggle appears inline and in the correct position, however upon toggling the image re appear...
i have this javascript code:
var step = 8; // How many pixels to move per step
var current = -1920; // The current pixel row
var imageWidth = 1920; // Background image width
var headerWidth = 960; // How wide the header is.
function slide_in(){
...
Hello all,
I am using the following widget
http://www.erichynds.com/examples/jquery-ui-multiselect-widget/demos/
It has worked great so far, but I need some help in adding attributes. In using Firebug, I've noticed that by simply clicking on the checkbox the checked attribute does not appear as I would expect it to. In my code, I've mod...
I'm using the following jQuery plugin and it executes when there's a click action on the specified element :
http://www.andresvidal.com/labs/relcopy.html
I also created a click function for the same element, but I expected it to execute after the plugin. However that isn't the case, the click function always executes first, thus causin...
I have this site that i am working with. On the main page the slider rotates every 5 seconds and I have a surrounding div around the video and when clicked I fire this
$('.video_button_a').click(function(event){
event.preventDefault();
$('#slideshow').cycle('stop');
});
The second command stops the slideshow from happening and fir...
Hi all,
I have a simple Jquery Datepicker calendar, and I need to display only the months from April to October.
I done this by using the following code.
Now I need to do a modification in order to be displayed the same months but for both 2010 and 2011.
More clear, The calendar needs to have for 2010 the months from April to October...
I'm using the JQuery-UI Accordion, but I'm trying to find a way to not have to initialize it any time any new element is added. Using AJAX I'm inserting html into a page, but on any page load I am having to re-initialize any accordions-
// .ajax handler
success: function(xml) {
// find accordions
$("div.accordion").accordion()...
Hello,
I want to open a facebox modal after some javascript validation. I am using this code:
<script type="text/javascript" src="facebox.js"></script>
Script:
function validatePage()
{
if(document.getElementById('username').value == '')
{
alert('Please enter Username');
return false;
}
//My Code should go h...
Any reason as to why this script won't work in any other browser. HERE'S the JsFiddle
The effect in IE 7, which is correct...is that the menu scrolls down and as you hover over the menu items and they animate by shifting to the right for the "on hover" of an <li> object.
The effect in FF 3.5 is incorrect. The menu dropdowns, will scro...
Hi all, I am using this Plugin in order to block the UI when <input type="submit"> is clicked. However I don't want to block UI immediately but 2 sec later.
following function doesn't work because $('#processingData') cannot be found, although I have defined <h3 id="ProcessingData" style="display:none">Processing Data...</h3> in the htm...
Below is the jQuery code I am attempting to use. It works well in Firefox, Opera, Chrome, Safari, but not IE7. I was at first suspicious that this was because of the :hidden selector not being supported in IE7, so I tried to simply .show() and .fadeIn() the element without conditions (you can see this from the commented out area).
if (...
I'm using the following function, called from document.ready(), to set a fadeIn/fadeOut effect on the top navigation of this page: http://bit.ly/dzVXB1
// Initialize the main menu's rollover behavior.
function initNavMenu(fadeInTime,fadeOutTime){
$('#top-nav li').append('<div class="hover"></div>');
$('#top-nav li').hover(
...
For the typical AJAX request to the server I bind ajaxStart and ajaxStop events to the opening and closing of a modal jQueryUI dialog box. However, I have another use case where there are 1 or more divs (usually 5 sections) which contain fairly large tables displaying rows of data retrieved from the database. I have noticed a considerabl...
I'm in the middle of constructing a custom autocomplete using jQuery because my site cannot use query strings. (I'm using Codeigniter, and despite the many various configurations I've tried, I can't get it to accept query strings for just the ajax search pages.) I tried to find a ready-made solution through Google and couldn't, but wou...
Hi,
I have an HTML string that contains text and images, e.g.
<p>...</p>
<img src="..." />
<p>...</p>
I need to get the src attribute of the first image. The image may or may not come after a <p> and there could be more than one image, or no image at all.
Initially, I tried appending the string to the DOM and filtering. But, if I do...
Hi! I've got a table grid(10x10), and images in some of it's cells. I wanna the images to be draggable beetween the cells of grid(it'd be great if i could easily get the new position(x,y) of image). I'm using newest JQuery.
...
I am working on a Google Maps-like scrolling/panning system. The system is supposed to be a lot simpler than the "original" (no zooming) and as such is built in a quite straight forward fashion:
There is a containing div representing the viewport with overflow set to hidden and a fixed size
This div contains another div that's being pa...
You can see the full problem here: http://users.cjb.net/syn4k/test.htm
I have described the problem in full at this location.
Edit: since you have asked to see the problem here as well,
Drag and drop the outlined items from one column to another and then try sorting the items in that column
Issue: The items do not stack after sort but r...