I found this ajax file upload script here http://www.phpletter.com/Demo/AjaxFileUpload-Demo/
Which is supposed to add ajax functionality to my file upload form
<div id="dialog" title="Upload Image">
<%
Html.BeginForm("Upload", "BugTracker", FormMethod.Post,new { id="uploadForm", enctype = "multipart/form-data"})...
Hello, is there a Rails 3 jQuery global loading event?
I'd like to display a LOADING banner anytime jQuery is AJAX loading... and remove it when it's done...
Ideas? Thanks
...
I have a WP Blog with a few DIVs generated through PHP loops. I would like to be able to show additional about a DIV when someone clicks on it.
The code looks like this:
<div class="story item-1">
<div class="story item-2">
<div class="story item-3">
<div class="story item-4">
(etc. Could be any number of these.)
Clicking on one of ...
I'm trying to POST a JSON object to a controller in Spring 3.
I'm getting the following error:
2010-10-20 17:59:14,391 DEBUG [org.springframework.web.servlet.DispatcherServlet] Could not complete request
org.springframework.http.converter.HttpMessageNotReadableException: Could not read JSON: Unrecognized token 'tilI': was expecting 'nu...
I have a table of 50 odd rows with 11 columns. Each row has a unique id made up of id="row_<clientid>_rownumber". There is a checkbox in the second column with id="group_<clientid>_<petid>_rownumber"
When the user clicks a checkbox I want to remove all rows except any that belong to the selected client. I have code that works as follo...
I have used jQuery to invoke an AJAX webmethod in c#. This webmethod runs a query and stores the resulting information in a session variable. I have a gridview that has an objectdatasource that uses the session variable with the selectmethod to then populate the gridview with data from a query. I need the final piece to get the gridview ...
Hello I have the following:
$('#container').prepend("<ul><li>Stuff</li></ul>').hide().slideDown();
I want the NEW UL to slide Down. but the above is sliding down the entire #container..
How can I prepend an item to the top, and then slide it down.. Kinda like how Twitter used to show you your new tweet.
Thank you.
...
I've got a fiddle going here to show what I'm trying to do.
I have a table that is generated dynamically, so the columns could appear in whatever order the user chooses. So, I'm trying to get the index of two specific headers so that I can add a CSS class to those two columns for use later.
...
ok i have this jquery
$('.make_request').ajaxForm(function() {
// $('.band_notice').show();
$(this).parents('.accordionContent').find('.band_notice').show();
});
I am using this plugin
I need to find the class element .band_notice that is in the form clicked
here is my html
<div class="accordionContent">
<form a...
I'm trying to position a little down arrow beside a textbox.
jsFiddle example
How can I make the box fit snuggly against the input, such that their tops and bottoms align?
Must be a way to grab the position info was JS/jQuery and then... what, should I absolute-position it?
Edit: Got it pretty darn close to how I want. It's still a...
I have two drop down menus, one of which I am trying to replace with radio buttons using jquery. The second box is updated via AJAX with new options any time the user makes a selection in the first drop down. I have successfully generated radio buttons that change the values for the first drop down but when the user updates the first dro...
I'm working on a script to click a button. The button is part of a script that is embedded on a website. The embedded script is here: http://pastebin.com/jsBiYZxi I'm fairly new to Greasemonkey and javascripting in general and I'm hitting a road block trying to accomplish this. Can anyone give me some pointers or suggestions?
...
I am using JQuery ajax in Spring MVC 3. When making the following call, I am running into a dilemma with myurl. On the local development machine, myurl would be localhost:8080/myapp/my_json_controller. On the production, my url would be domain/my_json_controller. I tried using relative url, /my_json_controller, and it would not work ...
Hi All
I'm trying to combine the official jQuery accordion plugin with another JQ plugin called 'GallerificPlus' (Gallerific & Lightbox in 1).
Unfortunately it doesn't work for me. The GallerificPlus is the one that doesn't work, the accordion works fine. Firebug reports no errors, so this could be anything. It's really frustrating.
...
Hi all, I'm currently trying to implement jquery tablesorter and one of my columns is filesizes, I've found a snippet of code for this, however I keep getting errors.
If anyone could help me out that'd be great.
jQuery TableSorter: http://tablesorter.com/
jQuery TableSorter Filesize code: http://groups.google.com/group/jquery-en/brow...
Alright,
I have a list of links off to the right where each link corresponds to their own div. The divs are "stacked" on top of each other. Basically I am having trouble trying to figure if I click on "link 4" how to make it slide down to div 4. And when you click on "link 1", how to get it to slide up to div 1. I guess I can't figure ...
Hi all,
I was wondering if someone could shed some light on why my Nivo-Slider is so laggy??
It skips from 2nd to 3rd image quicker than normal, then takes a while to get back to the first image. There are only 3 images in this slider.
www.some-things.net is the address, and the slider is on the homepage.
It's particularly bad in ...
How can I assign a variable to content attr of dojo.xhrPost dynamically ? Below is the code and some explanation for my scenario:
Code with hard coded values for content
dojo.xhrPost({
url: /esturl/,
handleAs : "text",
content : {INST1 : '{"0001" : "aa"}',
INST2 : '{"0002" : "bb"}',
INST3 : '{"0003" : "cc"}'}
l...
Hi,
I need to set a collection of date appointments in the calender, and this collection has to come from the database. Could you please help me by giving some clue, because I don't understand the specification.
Sorry for my English, as it's not my native language.
...
I have an xml string that wanted to be sent to server:
<script type="text/javascript">
$(document).ready(function() {
// put all your jQuery goodness in here.
$('#button').click(function() {
$.post('http://localhost/a.bc', { cmd:"<cmd cmd_name='login_user'><...