I've never had this issue before, so I'm somewhat lost. I'm getting two different results using essentially the same underlying code. The first way is this:
$(".myClassSelector").append(somejQueryObject);
The second way, which doesn't appear to work the same, is this:
$(".myClassSelector").each(function() { $(this).append(somejQueryO...
Hi Guys,
I am fairly new to jQuery and I am trying to rotate 6 CSS classes
.img
.img1
.img2
.img3
.img4
.img5
Only one of these classes has "display:block;" the rest have "display: none;".
I am trying to basically randomize the appearance of these classes - for these 6 classes - by making the current "display: block" goto "display:...
Hey yaa!
I have a big problem with my jquery.
I finally made it that my slidetoggle runs in firefox.
The animation is a little bit jumpy in the end of the animation.
I read a lot of workarounds, but somehow nothing helped me really.
Perhaps anyone of you can rescue me out of this dilemma.
The other bigger problem is that the hidden div...
hello,
How can I get asp dropdownlist selected text in Jquery, not selected value/
...
I am using the jQuery Validate plugin to perform validation on my form. I have a list of dates which is dynamically generated. It can include from o to x amount of dates. I need to validate that this list of dates is in sequence, and that any date toward the end of the list is not prior to a date that appears earlier in the list.
I have...
The scenario is as follows.
On a Parent Page we have a div tag with id and Name "placeHolder".
Step 1: "placeHolder" is filled with Page1 content through an ajax call.
Step 2: "placeHolder" is filled with Page2 content through an ajax call.
Step 3: "placeHolder" is again filled with Page1 content through an ajax call.
When the page...
Hi all,
I'm trying to create a Stackoverflow like voting system, and I've run into a slight problem.
I have the following HTML that has jQuery onClick events wired to it:
<div id="c_<%=Html.Encode(Model.C.cID) %>" class="votes">
<img src="../../Content/gfx/Up.png" class="up" alt="" />
<span class="votecount"><%= Html.Encode(M...
For Internet Explorer only it seems that the target (srcElement) of clicks,mousedowns,mouseups,mouseovers,etc on <select /> elements will not be tied to the <option /> element.
Given the following HTML:
<select id="madness">
<option value="1">One</option>
<option value="2">Two</option>
<option value="2">Three</option>
</sele...
With jQuery, i change the src of an image on click
$("#thumb li img").click(function() {
var newlinkimage = $(this).attr("src");
newlinkimage = newlinkimage.substring(14,17);
$("#avant img").attr("src", 'retouche-hr' + newlinkimage + '-a.jpg');
$("#apres img").attr("src", 'retouche-hr' +newlinkimage + '-b.jpg');
The problem is, th...
I'm using Dynamic Drive Step Carousel Viewer v1.8 so show a series of item images (div class="panel") within a #scroll.belt div. Each image panel includes a hidden <p> containing alarger version of the image and some text description. So far, so good.
When a user clicks on any image, I want the hidden <p> associated with that image to a...
i have a strongly typed asp.net-mvc view and the Model has a .Links property.
Links is an array of link, which has a URL, a Description and an ID.
i have a bunch of links. Every links has a list of tags and those tags are layed out like this:
<a id="98" href="www.ibm.com>IBM</a><b class='dblclick'>Tags: Software</b>
<a id="99" href="...
Hi,
I have a radio group which is validated for required. It works fine except when in certain cases I need to disabled first radio button leaving user to select one from remaining. Even in this case radios are validated but error message is not displayed. I believe its due to error message's association with first radio. Disabling othe...
I am using the LocalScroll jQuery plugin by Ariel Flesler and have set links and anchors as necessary to get the plugin functional.
However, I'm wondering if it is possible to avoid using 's, but rather, use 's with jquery click events instead.
The plug-ins home page
Any help would be much appreciated.
Thanks in advance,
Shawn
...
Hi. I have a custom authorize attribute on my controllers and it is not being called on expired ajax requests.
I'm using forms authentication, and call controller methods via $.ajax (jQuery). The ajax request returns my login page and I don't seem to be able to intercept this.
Thank you.
UPDATE:
I figured out why: I commented the auth...
<div class="boxen checkedzahlen" id="box41_0_1">
41
<input type="checkbox" value="1" name="cb41_0_1" id="cb41_0_1" checked="checked"/>
</div>
Something like this is given, how can i animate the text ("41"),
if $(this) <- the class:boxen, is clicked?
this > * does not work,
this:children also not...
...
Hi all,
I'm using the jQuery-UI dialog widget in a Grails-based application to load a remote page (in this case, a simple file upload form). The remote page is defined elsewhere in my project, and doesn't know it is being loaded in a dialog.
Is there any way to close the dialog via a link in the remote page? Would I have to somehow p...
In jQuery ajax function there is xhr option. Does someone know more details, usability or sample usage of this option?
...
So, these script don't want to work. Not sure what to do. If i run the page B by itself, everything works fine. If the page A makes an ajax call to page B, none of the scripts within there would work. What do i do?
thanks in advance.
the code in page B:
chkBox = function() {
jQuery("#docheckchildren").checkboxTree({
collap...
I'm trying to modify the icons for the jQuery UI portlets. Rather than have a plus to minimize and a minus to expand, I wanted to switch them.
I've only had limited success with it where the first time to click the minus it flips to a plus, but the plus never flips to a minus. Any help on this would be much appreciated.
Here's a sa...
i have a function to handle click of clickedcell. I want to exctract value of sibling cell with class "desired". how exactly to specify?
<tr>
<td class="desired">someValue</td>
<td><span "clickedcell"></span></td>
<td></td>
/tr>
...