Particularly the bit about live....
jQuery('.something').live('click', function() {
jQuery(this).parent('form').reset();
});
I suppose this might work as well, though I am curious about the parent function:
jQuery('.something').live('click', function() {
this.form.reset();
});
...
Hi,
i have 10 images and i want to show they with numbers(1,2,3,4,5...). I am talking about image slideshow with numbers. Can you suggest me jquery plugin for this ?
...
I am trying to use the delegate method on a grid that I wrap with the DataTables.Net plug-in. I originally had this code which works as expected.
$("#myGrid tbody tr").click(function() {
var id = $(this).children('td').eq(0).text();
alert(id);
});
However, if I change the paging size then the newer rows don't h...
I have a page with a form on it that needs to post to an external URL. However, I also need this information to be sent to the current page (mypage.php). For security reasons, I cannot just post to mypage.php and use cURL to post via PHP to the external site - the form has to submit directly to the external site.
This code would be fo...
I am trying to populate multiple form fields with JSON data after a user makes a choice from a select box. I am very new to jquery so sorry if I am getting something elementary wrong. I don't want to include the JSON in my html because it will be changing often and it is a very large file. Here is what I have:
<script type="text/java...
Trying to figure out how to write a jquery formula that will sum all input fields that begin with "pull" on keyup... I'm trying the code below, but nothing happens... No errors, and no updates either.... (the html is at the very bottom)
$(document).ready(function(){
/* sums pull total input fields */
$("input[name^='pull']").bi...
Hi all,
I had only one function to Add another row to the table id="tblOtherParties" and i worked fine, but
when I added the second function to do the same with the table id="tblHospitalAction" I get the error of unterminated string constant, but I dont see why as its the same as the first function.
Any help would be very much appreci...
I'm trying to make a a fairly simple jquery function to slide through some "tweets" with varying heights. I've tried numerous carousel / slider plugins but none of them seem to allow for simple continuous scroll onmousedown, and they are all tied to animating from one "slide" item to the next. There is jScrollPane but it seems impossib...
I'm trying to get to the row that is "current" in GMail Inbox view, the one marked by a little triangle on the left. The one you can change using j,k hotkeys.
I came up with this but it still returns every row.
jQuery("#canvas_frame").contents().find('tr#.zA>td:first-child>img[style]')
I need two selectors - one for the current row an...
Hello,
I have a table, has many rows. for example one of from rows(all rows are same):
<tr>
<td>
<input type="text" />
</td>
<td>
<textarea cols="40" rows="3" ></textarea>
</td>
<td>
<s...
I'm upgrading an application that was using jQuery 1.3.2 to consume a WCF Data Service (a.k.a. ADO.NET Data Services, a.k.a. Astoria) to use the latest version of jQuery (1.4.2). My application is now failing, with JSON parsing errors, because jQuery 1.4 now uses stricter JSON parsing.
I've run the JSON returned by my data service throu...
Hello,
I'm here again because of jquery overlay.
I have an overlay that loads a normal Div into it, i want to apply the apple effect to it, but i can't, i get an javascript error "Effect no found".
The code for the jquery function is written as below:
<script type="text/javascript">
function pageLoad() {
var trigge...
I am trying to do a button that increments on click his ID and a variable.
i was able to find some code on StackOverflow that increases the value of an input field but I do not know to change it from there.
Here is the Markup:
<input type="text" name="qty" value="0" />
<p id="inc">Increase</p>
<p id="dec">Decrease</p>
And jQuery
<sc...
I want to find all elements in a form with one or more classes assigned to them.
eg: something like:
var formElements = $('#MyForm').find('.classA .classB')
if some elements have classA assigned and some elements have classB assigned, will an element having both be returned more than once?
...
For creating interactive web apps, Silverlight and Jquery (jqueryUI included) are used.
Is there a list of criteria based on which this selection can be made to go with either silverlight or jquery
...
I have a table. Some rows are dynamically added by jquery.
The first <td> of each row has an <input type="text" /> element. Using jQuery, is it possible to check that all these input elements have unique values?
...
im using jquery to make ajax requests. is it possible to detect if the request is an ajax request or a normal request on the server side? does jquery add any input variables or headers to make this possible?
thanks
...
I have a page ItemList that shows a list of items using div's. After adding an item page would be redirected to the ItemList page. At this point I want to add the fade in/out effect for the newly added item (which should be the last div). But how do I determine if the user just added an item and came to this page, or they're directly vis...
Hi there, am using jquery tablesorter plugin and in my "country" column i got special characters like this: Índia.
The fact is that when i hit the header of the column to sort it, it puts my "Índia" at the end of the column. I guess the nav sees the instead of the real "I" with an accent.
Any clue on how to make it work even with acc...
how to show specific tab with link from another page
<a href="index.php?page=home#tab2">Home</a>
this is the JS code:
$(document).ready(function() {
//When page loads...
$(".tab_content").hide(); //Hide all content
//$("ul.tabs li:first").addClass("active").show(); //Activate first tab
$(".tab_content:first").show()...