[jQuery] Re: Unexpected $(document).ready() behavior when jQuery is loaded after the page

2009-10-09 Thread Sasha Sklar
$(document).ready(function() { console.log('dom ready functions should fire now'); }); } }; head.appendChild(script); }; Maybe I'm missing something? I think this is going to be a big

[jQuery] Re: Unexpected $(document).ready() behavior when jQuery is loaded after the page

2009-10-09 Thread Sasha Sklar
console.log('jquery nightly is done loading'); done = true; $(document).ready(function() { console.log('dom ready functions should fire now'); }); } }; head.append

[jQuery] binding and re-binding

2009-06-11 Thread Sasha
Hi everyone. I've run across what must be a common problem: When my page loads, I bind every element of a certain class to some function (via click, focus, or whatever). Then I dynamically create another element with that same class on the page, and the new element lacks the binding. Is there

[jQuery] [validator] how to turn off validation once it's turned on

2009-05-21 Thread Sasha
Hi - I'm looking for a way to validate a form with two buttons. The first button will add the form's contents (if they're valid) to the row of a table below the form. (Several rows can accumulate in the table.) The second button will proceed to the next page if either 1) there's valid content i

[jQuery] Re: [validator] trouble using rules("remove")

2009-05-19 Thread Sasha
e, not an attribute. > > Jörn > > On Tue, May 19, 2009 at 10:26 PM, Sasha wrote: > > > Hello world, > > > From everything I can understand from the doc, this code > > -- > > > >         > >         click me. > >         > >

[jQuery] [validator] trouble using rules("remove")

2009-05-19 Thread Sasha
Hello world, >From everything I can understand from the doc, this code -- click me. $(document).ready(function(){ $("#myForm").validate(); $("#checker").bind("click keypress", function(){ $("#age").rules("remove");

[jQuery] Re: index() problem

2009-05-18 Thread Sasha
ect option").index($("option[value=1]")) > > Should give you the value you are looking for > > On May 18, 10:07 pm, Sasha wrote: > > > Seems like this should be straightforward based on the documentation: > > > ... > > > >         whate

[jQuery] index() problem

2009-05-18 Thread Sasha
Seems like this should be straightforward based on the documentation: ... whatever other whatever ... $(document).ready(function(){ alert($("#mySelect").index($("option[value=1]"))); }); ought to alert "1" - right? Instead I get "-1". If I change "#mySelect" in the

[jQuery] Re: [validate] can I fool the validator into letting me submit the form?

2009-05-18 Thread Sasha
is possible? On May 18, 2:54 pm, Jörn Zaefferer wrote: > Could you give a more specific example how you would use that? > > Jörn > > On Mon, May 18, 2009 at 7:25 PM, Sasha wrote: > > > Hi everyone - I've used and loved the form validation plugin developed > >

[jQuery] [validate] can I fool the validator into letting me submit the form?

2009-05-18 Thread Sasha
Hi everyone - I've used and loved the form validation plugin developed by Jörn Zaefferer, and I've run into several cases in which I would like to be able to essentially say, "if these conditions are met, the form's valid, period," without actually checking through valid(), element() or any other

[jQuery] Permission denied error with 1.1.4

2007-09-06 Thread Sasha Oros
I'm getting a 'Permission denied' error in IE6 when a jQuery 1.1.4 is loading. When I swap back to 1.1.3.1, it loads properly and page works fine. It works in Firefox with both libraries. IE's error prompt shows the following info: Line: 359 Char: 4 Error: Permission denied Code: 0 but, when I