Hi all. I'm sorting a list of species, but sometimes the list is large and it takes several seconds to sort it. Thus, I tried adding a small notice to let our users know there's something running (and they should wait). Please just check this page: http://ibc.lynxeds.com/family/babblers-timaliidae
And click on "Sort and Filter [+]". Then...
I'm sorting a list of <li> elements. I adapted a function on a page that I can't link right now. You can see the live site here. Click on "Sort and Filter" and click any of the Sort by methods (English name, material, status...). All sorts are essentially the same, so CPU time is the same.
My jQuery function looks like this:
jQuery.fn....
Hello - I am using jQuery to do some inline form validation during user registration to prevent form errors after posting by checking to see if:
username is available
email has not already been registered
The idea is to give the user feedback before the form is submitted to prevent frustration. The code is at the bottom.
Question...
Hi all,
I have a bit of an issue here. As Im new to jQuery this will probable will sound simple for you.
I need to add path to alt and change the alt so it will have extension .jpg and screen within jquery
So how can I transfer this
<img src="small.jpg" class="image" alt="big01">
into this:
<img src="/image/small.jpg" class="ima...
Hello, I have to get some effects when content is changing. Here is my jquery-code:
function contentHide( parentElement, callback )
{
parentElement.animate({
"height" : "hide", "opacity" : 0.0
}, "slow", "linear", callback);
}
function contentShow( parentElement )
{
parentElement.animate({
"height" : "sh...
I am building a dynamic partial load asp.net page, I would like to use jQuery to call page methods or web service to retrieve the content HTML.
page methods or web service, performance wise, which way is better?
If I call page method, on the server side, does the page go through full lifecycle?
Is there any good resources help me to b...
A required field validator seems to always to fire when the associated textbox is disabled (whether the textbox contains text or not).
When the textbox is enabled the validator behaves correctly.
Can anybody tell me why?
I've tried disabling the required field validator with ValidatorEnable but that seems to make no difference.
Here'...
I have a GridView on an .ascx. I have an asp:Checkbox CheckAll checkbox in the header template for a column and then a checkbox in the ItemTemplate. I would like to add the functionality so that when I check the checkbox in the Header, it will check or uncheck all of the checkboxes in the GridView.
How do I do this with JQuery? I wou...
Hi folks,
I have a container whose width is fluid (depending on the size of the browser window), though it has a max-width of 950px. The container has a nested header h1 element which has some text as a strapline.
I want to somehow make this header text get smaller as the container gets narrower (using jQuery).
I think it'll work some...
I got a little problem here guys. I'm trying to implement the following scenario:
1- A user opens the home page and sees a list of other users and clicks to add one to his friend list.
2- I issue an Ajax request to a server resource to validate if the user is logged in, if so, I issue another ajax request to another server resource to ...
hi,
in my jsp i have a radiobutton group and a textbox (which is disabled initially) .
whenever user clicks on last(or, one of the) radio button the textbox should be enabled and when user clicks on some other radiobutton text box should again get disabled.
i am able to enable the initially disabled checkbox with the following code :
...
Hi all,
I user Tablesorter a jQuery plugin (I am sure other know about it) in my project. I need to add a feature where in when users click on a row, it gets selected . I tried the following code but, its not working out.
$('#myTable tr').click(function(event) {
$(this).addClass('selected');
});
Could anybody tell me the best way...
I am creating a custom simple dropdown using jQuery that hides/shows a element based on over state.
The problem I have now is that when you go over the shown element it hides, you cant move your mouse in to the dropdown that was created.
Any thoughts on how to fix that also, is there an easier way to do what I have? I am going to be re...
$.fn.fieldValues = function(successful)
{
var values = {};
this.each(function()
{
if(strstr(this.name, '[]', true))
{
var tmp = this.name.replace(/\[\]/, '');
if(typeof values[tmp] == 'undefined') values[tmp] = {};
var x = 0;
while(typeof values[tmp][x] != 'undefined') x++;
values[tmp][x] = $(this).val();
}
else...
How to explain this statment
var a = $(this);
What will 'a' contain?
...
I'm trying to turn "more" into a hyperlink, but it's like it totally ignores the last wrap... I'm sure that I'm doing it wrong, but not sure how... Help?
$j('#sub > div[id^="post-"]').each(function() {
var sid=this.id.match(/^post-([0-9]+)$/);
var sfimg = $j(this).find("img");
var sfhh = $j(this)...
I have a simple select element on my page:
<select id="info_routes" size="10"></select>
This select box gets populated at page load via jquery at document ready:
for (var route in _routes) {
var val = _routes[route].id;
var key = 'route_'+val;
$("<option />").attr({id: key, value: val}).appendTo('#info_routes');
$('#info_...
Hello,
I am using the accordion from JQuery together with DotNetNuke.
Now the DNN page is loaded into an IFrame dynamicly, so an the Page_load event of the page which includes the IFrame, the IFrame is not filled yet.
<div class="dvFrame">
<iframe class="IFrame" marginheight="0" marginwidth="0" frameborder="0" runat="server...
Suppose that you have:
<a href="file://...">link1</a>
<a href="file://...">link2</a>
<a href="http://...">link3</a>
<a href="http://...">link4</a>
What code should I use to select only link1 and link2 without using a[href^=http]?
...
What is the best way to programmatically select all rows in a jqGrid that is set to multiselect?
The code could loop through all of the rows one-at-a-time and select each one, but then the checkbox in the grid header is not checked. I was thinking about just triggering the header row checkbox's clicked event, but that would make assump...