[jQuery] Which event to use with form elements

2009-08-22 Thread André Hänsel
Hi, is there any event that I can use to trigger an action immediately when a form element is changed? (And similarily when it is changed and then looses the focus.) I think JS does not provide such an event but maybe jQuery provides some kind of "virtual event" for this case? Regards, André

[jQuery] jquery form plugin. IE doesnt work

2009-08-22 Thread markstegg...@googlemail.com
Hello, Im using ajaxForm to submit my contact form at futurekode.com: $('#contactForm').ajaxForm(function(data) {} -- This works fine in all browsers except IE7/8. IE error says theres a problem with jquery 1.3.2 and highlights this line: return"submit"===T.type Could someone take a look at

[jQuery] Tablesorter: default (not initial) sort order for a column

2009-08-22 Thread Abiel
Using the Tablesorter plugin, I would like to be able to force ascending or descending ordering on a column whenever it is clicked after the table was previously sorted by another column. For example, suppose that at some point in time column A is sorted ascending and then I go and sort by column

[jQuery] Re: Scrolling problem

2009-08-22 Thread Kevin
I kind of founf a way to do it using: jQuery('#mycarousel').jcarousel({start:NewStrt}); The only thing is the images disapear, but pressing the scroll buttons, I can see the dynamic images load in the status bar so it appears it is working, just with now invisible images. Can anyone point

[jQuery] Re: Draggable problem

2009-08-22 Thread Richard D. Worth
On Sat, Aug 22, 2009 at 12:12 PM, ak732 wrote: > > Draggable has an option called 'handle' with which you can specify the > element that use used as the drag handle for the draggable. > > So, something like this... > > $("#wdw").draggable({handle:$(".title", this)}) That's right. But a simple

[jQuery] Re: some novice questions

2009-08-22 Thread GaVrA
$(function() { $.ajaxSetup ({ cache: false }); var loadUrl = "majice.html"; $("#majice").load(loadUrl, function(){ $(".tShirt").wrap("Autor: ZmYchE[od 790. dinara]"); }); }); I just realised that i can use callback on load...

[jQuery] accessing the ajax loaded content

2009-08-22 Thread kknaru
so guys..what i'm trying to do is to acces the content loaded via AJAX but in an other way than by a callback function. i have a div where the data will be loaded via ajax, the data is represented by a list of folders and when i click one of them i want to load then the subfolders...and so on, b

[jQuery] some novice questions

2009-08-22 Thread GaVrA
I have this: http://www.crtaci.info/majice.html which i am loading here and adding some content with jquery: http://www.crtaci.info/index.php?autocom=majice $(function() { $.ajaxSetup ({ cache: false }); var loadUrl = "majice.html"; $("#majice").

[jQuery] jQuery handling of URL params?

2009-08-22 Thread Audrey A Lee
Hello, Rails has a hash named "params" which contains information from my current URL. Does jQuery have something like params? Related question: What is the jQuery-way of getting data out of the current URL? -Audrey

[jQuery] Re: How to have a smooth transition ?

2009-08-22 Thread vishalkhialani
vishalkhialani wrote: > > Hi, > My aim is to have one div element move up when there is a mouse over and > another div element to become visible when the same mouse over effect > takes place. > > I managed to do this you can see the video here > http://www.youtube.com/watch?v=kmdx4p_FE4M > >

[jQuery] Re: Quick check over these few lines ?

2009-08-22 Thread MorningZ
"The confusing bit is that you're instructing jQuery to make an AJAX request for each LI *as the page is loading*" That is not true, as inside $(function() { ... ... ... }) the page is already "ready", all the 's will be where they should be On Aug 22, 1:41 pm, brian wrote: > I see

[jQuery] Re: new site on the "sites using jquery list?

2009-08-22 Thread Karl Swedberg
Go for it. It's a wiki, so you just have to sign up with username/ password. There is a 24-hour waiting period before you can post something after you've registered (to help reduce spam). --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Aug 20, 2009, at 1:3

[jQuery] Re: appended element problem

2009-08-22 Thread brian
That's because the new link has not been bound to the function described in the first part. See here: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F Although it's not added through an AJAX request the principle is the same. On Sat, Aug 2

[jQuery] Re: Quick check over these few lines ?

2009-08-22 Thread brian
I see an error and ... something confusing. The error is that you're using "this" to refer to the li inside the success handler but it's gone out of scope. Commonly, people will create a var "self" and assign "this" to it so as to refer to the proper object inside a deeper scope. The confusing b

[jQuery] Re: Help with show hide function

2009-08-22 Thread Jacques Choquette - WhistlerGraphicDesign.com
This is what I ending up going with I seriously doubt this is the most efficient / proper way to do this this but it's working anyways $(document).ready(function() { // hides the all tabs as soon as the DOM is ready // (a little sooner than page load) $('#homeTab').hide(); $('#whoTa

[jQuery] How to have a smooth transition ?

2009-08-22 Thread vishalkhialani
Hi, My aim is to have one div element move up when there is a mouse over and another div element to become visible when the same mouse over effect takes place. I managed to do this you can see the video here http://www.youtube.com/watch?v=kmdx4p_FE4M and the code I used is here http://pastebin.c

[jQuery] Re: Quick check over these few lines ?

2009-08-22 Thread MorningZ
One issue that i see right away is this: $("li").each(function(){ $.post("ajax_parser_update.php", {query: $(this).val()}, You are apparently looping through "" tags inside that each statement $(this).val() won't work because is not an object that .val() works against... use ".t

[jQuery] Problems with form validation

2009-08-22 Thread thegeekster2010
Please forgive my ignorance on the matter. I've only recently switched from pHp and older JS conventions am not quite used to the varying syntax. Here goes: I am building out new forms for my company and am using jQuery for the form validatin. The form has sets of hidden questions that will disp

[jQuery] a question for ajaxStart function

2009-08-22 Thread ATPKING
I use the jquery-1.3.2-vsdoc2.js but when i debugged the code,Visual Studio said Microsoft JScript Run-time error: 'f' undefined, and VS jump to the code jQuery.fn["ajaxStart"] = function(callback) { /// /// Attach a function to be executed whenever an AJAX reque

[jQuery] Problem with form validation. Help/Suggestions Appreciated!

2009-08-22 Thread TheGeekster
Please forgive my ignorance on the matter. I've only recently switched from pHp and older JS conventions am not quite used to the varying syntax. Here goes: I am building out new forms for my company and am using jQuery for the form validatin. The form has sets of hidden questions that will displ

[jQuery] appended element problem

2009-08-22 Thread za~za
if i append an link to the page the function preventDefault() dont work if i click on it anyone know how to prevent default action of an appended link? Page title