jquery

Send email with jQuery

Hi, Can I send email using jQuery only? I don't have .Net or PHP etc running on the site. ...

Jquery live not working in IE

Hi, I have some code that works fine in FF but not in IE. I have read other posts saying that the Jquery live method does not support change events but I am using a click event. Here is my code, it is inside $(document).ready(function(): $("a").live("click", function(e) { alert("link clicked"); //do stuff }); I...

Regarding mootools and jQuery demo

Hi , i found http://visualjquery.com/ more useful when i was learning jQuery with each function explained in demo along with code sample in a practical manner. im looking for the same in mootools. is anyone find any website which provide demos and sample coding like above the same in visualjquery.com ...

Invalid Label - jQuery Ajax/Json request

Hi, I've been pulling my hair out over this; function status_update( token, loader ){ $("#status-submit").bind( 'click', function(){ try{ $("#status-feed-result").html( loader ); $("#status-input").attr("disabled", "disabled"); var status_input = $("#status-input").val(); $.ajax({ type: '...

Descendent or self selector in jQuery

I want to search for all elements with class needle in all elements returned by jQuery('.haystack') and have tried jQuery('.haystack .needle'), but this doesn't seem to pick up the case where an element has both classes. Is there a selector that will do this? ...

Open link in new window with Jquery

Hi. I am trying to open a few links in a new window using Jquery rather than _blank so my html remains valid. My code looks like this: $(document).ready(function() { $('a[id="external-url"]').click(function(){ $(this).attr('target','_blank'); }); }); This works just fine except when the link is contained within html I ...

How to use the validation rules on both client-side and server-side?

I'm using jQuery validation system for client-side validation. The backend works with django. jQuery use an interesting set of rules in JSON format. Does exists something to use the same rules on django side or I need to code it myself? ...

Listen for keypress while iframe has focus?

Is there any way to listen for keypress events in a parent page while the iframe has focus? Or, alternatively, is it possible to pull away the focus from the iframe? Please note, the iframe is not within the same domain, so I cannot modify it's contents via javascript. I've tried the following jquery in the parent page, thinking perhap...

How to get rid of jquery accordion "Default:first child"?

By default first child is shown always in jquery accordion .... How to get rid of active default value which is active on document.ready function such that none of the child shows up...... I am using $(document).ready(function() { $(".selector").accordion({ active: \\ how to set active none here }); }); Any suggestion... ...

Step by Step validation with jquery validation plugin

I know its been asked many times already but no one could come up with solution so far. The idea is to have one form separated into few steps and validate each step on next click of the button. I know jquery validation plugin is offering quite complicated way of doing it with accordion but can anyone come up with a simple solution somet...

Intro Bar like stack overflow

I have a simple top bar using jquery like the one on stackoverflow, but i want it to only appear on the first time a person visits the website. The HTML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html> <head> <script src="http://ajax.googleapis.c...

calling asp.net mvc action method using jquery post method expires the session

hi, i have a website where i provicde a link. On clicking the link a controller action method is called to generate a zip file after creation of zip file is done, i show the link to download the zip file by replacing the link to create a zip with the link to download the zip. the problem is that after zip file creation is over and link...

Dynamic notifications using jQuery

I'm currently building a homepage for our staff which is to be set as the homepage in their browser. I'm currently building the facility whereby nominated members of staff can send notifications to all staff. These will popup on their home page without the need for them to refresh the page. I've currently got the code below which worked...

How do i check if object is a div or a li?

Using jquery or JS how do i check if an object is a div or a li? ...

Which is the most memory leak safe approach.

I have a table of frequently updated information. This is presented using a container div with a div for each row, each row containing 10 divs. I am using setInterval to call a an asmx webservice that returns some json formatted information. On the success callback I call $("#myContainer").empty(); on the container div and recreate the...

JQuery punctuation for spanish (ó, í, etc.) not working in IE8

Hello, Im working with jquery and ASP, and have an SQL database from which I get, using the function $.getJSON(), some descriptions in spanish with "acentos" and "tildes" (á, é, í, ó, ú, ñ, etc.). With Chrome 4 and FireFox is working fine. The problem is with IE8: with some particular query, it hangs without getting the result back. If ...

Swap image with jquery and show zoom image

Hi there, On my site I have an Classic ASP page that shows 4 thumbnail product images that when clicked on swap the main image. This part is working okay. However, on the main image I'm also trying to use the jQZoom script. The zoom script works for the most part, except that the zoomed image always displays the zoom of the first image...

Reset Pagination li list when new query is executed

I have a basic jquery pagination. The data is loaded and displays correctly. above my results I have added a checkbox to filter these results. this works fine but does not update the result pagination. i.e. the first query returns 15 results. when clicking the checkbox, the new result on returns 10 results. my pagination still stays for ...

Simple dropdown and ie6 problem

I have created a dropdown menu with jquery: here Everything is ok but in ie6. I know ie6 not supported z-index, but is there any solution for ie6? Thanks in advance ...

digital clock using javascript/jquery

Anybody has a suggestion on how to build a textbox that is exactly like the one showing the windows time using javascript and/or jquery? ...