I have a form that submits a jQuery .ajax event every time menu's value is changed. The jQuery function queries the database for the price of an product, and then updates a div with a class of ".price" with the result. There are five of these forms on the page, and each one has a div with a class of ".price"
/* Variation Price Query */...
I've just started looking at JQuery. I don't have any AJAX in my web application at present.
My existing JavaScript in my HTML looks like:
<form ...>
<p>Find what? <input ...></p>
<div class="ButtonArray">
<a href="AddRecord.ASP&Action=ADD">ADD</a>
<a href="#" onClick="return MyFormSubmit();">FIND</a>
</div>
</form>
This disp...
Warning: I'm not a good person to explain things, my english isn't perfect and I'm a bit noob with php, javascript and jquery. If you think you can handle that, keep reading.
So, I have this small system where you can add divs to a website, drag them and scale them. This is easy with jquery. However I'm trying to save the changes to css...
Basically trying to do the following:
I have three colors: Blue, Green and Red
I have a set of images that should load based on the color link selected. All the images are the exact same in format, except for the color:
Blue: img1.blue.jpg, img2.blue.jpg. img3.blue.jpg
Green: img1.green.jpg, img2.green.jpg, img3.green.jpg
I know to ...
Can any one help me please, I have two sections of my question.
What I want to do is changing css class rules using jQuery on the fly.
.classname{color:red; font-size:14px;}
In example above I have a class named .classname now using jQuery I want to change the font size only not color with in .classname not by adding css inline.
I w...
I am new to ajax / jquery and have had difficulty finding a simple sample incorporating the following:
ASP.Net MVC RC1 (or 2)
jquery
modal form
I would like the user to be able to click a link/button in a View (Parent) and have a modal form appear that contains a form. the contents of the modal dialog should be an MVC view (Child).
...
Hi, I'm trying to pop a simple datepicker but can't or I don't know what reason. here's my code:
<!DOCTYPE html>
<html>
<script type="text/javascript" src="jquery/jquery.js"> </script>
<link type="text/css" href="css/smoothness/jquery.css" rel="Stylesheet" />
<script type="text/javascript" src="jquery/jquery-ui.js"> </script>
<scrip...
I want to get smarter in AJAX, but not sure which way to go. I have done some DHTML programming back in the day - like 8 years ago!, before it was called AJAX. I used emacs and hand-coded all the javascript, debugged via "Alert".
At this point I think there are frameworks out there that make things nicer and easier, but which ones? ...
Hi
I've built an application that uses jQuery and JSON to consume an ASP.NET .asmx web service to perform crud operations. The application and .asmx are on the same domain. I dont mind people consuming the read operations of the .asmx remotely but dont want people randomly deleting stuff!!!
I can split the methods i'd like to be publi...
So, I am just starting to use jQuery with one of my Django projects, but I have a pretty noobie question.
In a django view you have to return an HttpResponse object from the view, but sometimes I don't need to return anything. For instance, I might just be updating the database via ajax and don't need to send anything back. So my ques...
Hi,
This seems so tricky to me that I think I am overlooking something simple here.
Can you help me find it?
Basically, the situation is this
(variables where the name is not important are named with a capital letter) :
$('a').filter('somecriteria').each(function() {
var self = $(this);
self.click(function() {
B.ani...
Is there any javascript or jquery apis or methods to get the dimensions of an image on the page?
...
i want to be able to create a copy of the element that i want to drag. im using the standard ui draggable and droppable. i know about the helper clone option. but that does not create a copy. the dragged item gets reverted back to the original position.
...
I am trying to get John Resig's jQuery Live Search with Quicksilver Style to work with a select multi form control. His code is based John Nunemaker's Work developing his quicksilver.js code.
The problem I am having is that within a select box only Firefox supports .hide() on option values, I can't figure out a snappy approach for IE, ...
I have a aspx page that looks something like this:
<table runat="server" id="tblTEst">
<tr id="trHeader" runat="server">
</tr>
<tr id="trRow1" runat="server">
</tr>
<tr id="trRow2" runat="server">
</tr>
</table>
When I write my JQuery to say get a count of s, I need to do:
alert($('#' + strTableId).children('tbody').ch...
Here is the scenario: I have two radio buttons, 1) for a normal customers and 2) for business partners which also has a drop down control so that one of X number of business partners can be selected. When one customer type is selected the other section goes dark with the normal disabling of controls and applying CSS to get that disable...
Hey guys, first off let me just say Im a jQuery noob! I want to make a simple plugin that auto-populates a html select element, it works fine on the first element but when I call it again to populate a second it appends nothing. Here are my calls in the ajax tab where #product and #new-category are the select elements:
$(function(){
...
I have an web application with a dynamic number of tabs ranging between 2 to 20.
I'm currently using Jquery UI's tab plugin, but finding that it's behaviour is less then Ideal (i.e. around 12 tabs, when it wraps, the second line of tabs move with the tab selection and sometimes jump across 3 lines instead of two.
This is a two-fold que...
I'm running into a problem more and more often, where I have an event handler tied to a <td>, and I need to get the text in the first <td> in that row (which is the primary key). What's the easiest way to do that, assuming I don't want to add any additional markup?
...
I'm attempting to load up an XML document (specifically an RSS feed) via an Ajax request, parse it, and insert some information based on said feed into my page. The code works fine in Firefox, Opera, Chrome, and Safari, but not IE7. Go figure.
After doing some initial debugging, I've found that the XML string is being retrieved via the ...