Background:
I'm using jquery blockui 2.31 on jquery 1.3.2, on ASP.NET 2.0.
I'm using the dialog to show a (normally) hidden DIV as sort of a pop-up modal dialog, with ASP.NET server side controls in it (for simplicity's sake, an asp:Button). There's no AJAX, or not guaranteed to be any.
One of the things jquery blockui does, if you pa...
I've seen this question but feel like there has to be a "cleaner" jQuery method of doing this. I'm not even sure if this really works in all scenarios. Is there a way for jQuery to determine if a container has overflow without comparing dimensions?
For clarification, is there a method to test whether the CSS attribute overflow: hidden h...
Is it possible to run a jQuery .each statement a certain amount of times rather then for each of the items being iterated? The JSON being iterated is a last.fm feed, and of course, they ignore the "limit" request often. I would like to bypass this error by only running the .each statement so many times.
...
Hello I am intergrating the easyslider plugin into my website, I was hoping somebody will have come across my problem, I am using the paginate version of it so I can navigate in the slideshow to any image, however using the paginator then pauses the slideshow, does any one know how I can stop it from pausing and just carry one from the s...
Hello, before posting I want to tell you "Sorry for my English".
I've got a problem with JQuery. http://socialworld.den-style.net/ if you click "Nascondi" under the Logo you will see that the #post go to the right and then "comes back" to its old position.
How do I can fix this error? Thanks a lot.
...
Are there recommendations for/against upgrading the included jQuery 1.3.2 to 1.4?
...
IE6 is always surprising me but this one is REALLY odd.
I'm creating a horizontal menu where I need the text in each 'button' to be vertically centered. Easy in any browser except IE. So, for IE browsers, I'm using a bit of javascript to add the necessary padding to each button to make sure the text appears centered.
I got this working...
I'm trying to use the Google to load jQuery for some pages and jQuery UI for others.
On the pages where I just need jQuery, I do the following:
<script src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
function OnLoad() {
// my jQuery goodness
}
google.load("jquery", "1");
google.setOnLoadCallback(...
I am brand new to asp.net MVC and JQuery. I've created a MVC site using the NerdDinner tutorial. For the create and edit views, I'm using a partial view (code simplified below) for data entry. Where would I place my jquery code?
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Marlow.Controllers.SubcontractFormViewM...
Ok, i have a big image with a tab included
I like to load the whole div with the whole image, then resize the div just to show the tab, then when the tab click expand the div to the size of image (different on each div)
So getting the size of the image in the div click is the problem... $(this) the div, but how to get th image inside
...
I need to do something similar to this:
jQuery('#ImgCarousel').jcarousel({});
jQuery('#ImgCarouselCon').hide();
ImgCarouselCon is the container div that is wrapped around the carousel. With this code the carousel is still being loaded when it is hidden and I get errors. I looked at jCarousels documentation but I can't find a callback ...
In my Wordpress-powered website (http://onomadesign.com/wordpress/identity-design/usx-corporation/ for example) I want the sidebar.php, the thumbnail navigation on the right, NOT to reload when people click another project. So that they not get lost in navigation.
Now, I have looked at iframes, jquery cookies, 'AHAH-method', php session...
I've seen it recommended to reference jQuery via:
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js">
</script>
The idea being most people already have a cached copy on their client.
What if a hacker replaces that file on google's server? They could do an infinite number of "e...
Hello, I'm new to this forum and looking forward to participating.
I am practicing with jQuery and trying to write a little interaction where
a user submits a word (a tag) and then it displays as a new DOM element within . However, the newTag flashes and then disappears immediately.
What am I missing>?
$("form").submit(function() {...
Is there a built in function in jQuery that would allow me to get all the parents up to a parent with specific Id? I have a deeply nested unordered list, and if I have a reference to one of the "li" I need to find all parent "li" up to a root "ul". If I use parents() it gives me all parents up to a root of document. One way would be jus...
I am using jQuery.ajax(...) to retrieve JSON data from an ASP.NET MVC service. When the server encounters an exception, I send a 400 Bad Request status back to the client and send my exception as a JsonResult:
Response.StatusCode = 400;
return Json(new { ex.Message, ex.StackTrace });
And here's my jQuery code:
$.ajax(
{
type: "PO...
How do I fade out all the images inside the class bMenu that are not #b2 with jQuery? Thanks.
<div class="bMenu" id="b1"><img src='b1.jpg'></div>
<div class="bMenu" id="b2"><img src='b2.jpg'></div>
<div class="bMenu" id="b3"><img src='b3.jpg'></div>
...
I have a table that looks something like this:
<table>
<tr id="header">
<th>Title</th>
<th>Title</th>
</tr>
<tr id="1" class="record">
<td><a class="delbutton">X</a></td>
<td>Some Data</td>
</tr>
<tr id="2" class="record">
<td><a class="delbutton">X</a></td>
<td>Some Data</td>
</tr>
</table>
And I have a jQuery...
When i do something like :
$('#container').addClass("contract");
It only add class to the first div with id container
When i do something like :
$('.container').addClass("contract");
It adds the class to ALL the divs with class container
WHY ?
...
I have the following function:
function checkEmails(newEmail){
$('table td:nth-child(3)').each(function(){
if ($(this).html() == newEmail)
{
alert('The email address "' + newEmail + '" is already in the list. Duplicates are not allowed.');
toggleSpinner();
return false;
} ...