[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); }; - Sasha On Oct 8, 5:18 pm, Michael Geary m...@mg.to wrote: Failing to run the document

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

2009-10-09 Thread Sasha Sklar
functions should fire now'); }); } }; head.appendChild(script); }; Maybe I'm missing something? I think this is going to be a bigger issue as more people start to use things like LAB.js and EFWS to dynamically load js. - Sasha Sklar On Oct

[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

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

2009-05-19 Thread Sasha
Hello world, From everything I can understand from the doc, this code -- form id=myForm input type=text class=age required id=age/ input type=checkbox id=checker/ click me. input type=submit/ /form script $(document).ready(function(){ $(#myForm).validate();

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

2009-05-19 Thread Sasha
. Jörn On Tue, May 19, 2009 at 10:26 PM, Sasha sasha.akh...@gmail.com wrote: Hello world, From everything I can understand from the doc, this code -- form id=myForm        input type=text class=age required id=age/        input type=checkbox id=checker/ click me.        input

[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] Re: [validate] can I fool the validator into letting me submit the form?

2009-05-18 Thread Sasha
...@googlemail.com 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 sasha.akh...@gmail.com wrote: Hi everyone - I've used and loved the form validation plugin developed by Jörn Zaefferer, and I've run into several cases

[jQuery] index() problem

2009-05-18 Thread Sasha
Seems like this should be straightforward based on the documentation: ... select id=mySelect option value=0 selected=selectedwhatever/option option value=1other whatever/option /select ... script $(document).ready(function(){ alert($(#mySelect).index($(option[value=1])));

[jQuery] Re: index() problem

2009-05-18 Thread Sasha
give you the value you are looking for On May 18, 10:07 pm, Sasha sasha.akh...@gmail.com wrote: Seems like this should be straightforward based on the documentation: ... select id=mySelect         option value=0 selected=selectedwhatever/option         option value=1other whatever/option

[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