[jQuery] Interesting side effect of using the RSV plugin

2009-11-17 Thread Jim Byrnes
I discovered by accident that if I use the Really Simple Validation 
(RSV) plugin, hitting enter in a form field advances to the next field 
just like hitting tab. I am working on an internal data entry form so 
this is a good thing.


My form fields look like this:

tagNum
enterDate
dueDate
Description

If I enter valid info in the tagNum field and hit enter, the field 
required message pops up for the   enterDate   field.  At this point I 
hit enter again and the proper info is entered in the tagNum field and 
focus is in the enterDate field.  This happens on down the form until I 
submit it by clicking the button to submit the form.  If I enter invalid 
data in any field the proper warning pops up and I can correct it.


Does anyone have an idea of how to prevent the field required message 
poping up before focus shifts to the next field?


Thanks,  Jim



[jQuery] 403 forbidden error with RSV plugin

2009-11-05 Thread Jim Byrnes
I added the Real Simple Validation (RSV) plugin to a working html page 
that loads other jquery plugins just fine.  when I loaded the page I got 
an error saying RSV was not a function.  Looking at the page with 
firebug it shows a 403 forbidden error saying I don't have permission to 
access that file on that server. Its a server on my desktop that I 
access using localhost without any problems until now.


Anyone have any ideas on how to resolve this?

Regards,  Jim





Re: [jQuery] Re: jQuery form plugin?

2009-11-02 Thread Jim Byrnes

Mike Alsup wrote:

Can you post a link to this page, or a similar example page?


Unfortunately no.  It is an internal app that hooks to a MySQl database 
on a web server I setup on my desktop.


I did put together a small test case that exhibits the same behavior.  I 
am running jQuery 1.3.2 and the Malsup jQuery Form Plugin vers 
2.33(22-Sep-2009).




TEST






Print Items Due Report

Date to Print







// test.js
$(document).ready(
function() {
//$('x#printForm').ajaxForm();
$('#printForm').ajaxForm();
}
);



Thanks,  Jim



On Nov 1, 6:00 pm, Jim Byrnes  wrote:

I am new to jQuery and really new to the form plugin so I must be
missing something simple but I can't figure out what is wrong.

I have this form:


Print Items Due Report

Date to Print




If I put this in the ready function: $('#printForm').ajaxForm();

Firebug shows show a response and post that seem correct, but
printRenge.php does not format a page to print.

If I put anything in front of #printForm like this:
$('XX#printForm).ajaxForm() firebug says "reload to activate window
console" and printRange.php formats a page.

Can anyone tell me what I am doing wrong?

Thanks,  Jim






[jQuery] jQuery form plugin?

2009-11-01 Thread Jim Byrnes
I am new to jQuery and really new to the form plugin so I must be 
missing something simple but I can't figure out what is wrong.


I have this form:


Print Items Due Report

Date to Print




If I put this in the ready function: $('#printForm').ajaxForm();

Firebug shows show a response and post that seem correct, but 
printRenge.php does not format a page to print.


If I put anything in front of #printForm like this: 
$('XX#printForm).ajaxForm() firebug says "reload to activate window 
console" and printRange.php formats a page.


Can anyone tell me what I am doing wrong?

Thanks,  Jim


[jQuery] Ajax example needed

2009-10-23 Thread Jim Byrnes


I am struggling with ajax and jquery.  I wonder if someone could point 
me to a simple yet comprehensive example of getting rows from a mysql 
database and displaying them in a html table.  Using php on the server 
and jquery on the client.


Thanks,  Jim


[jQuery] Re: Jquery site navigtion

2009-10-15 Thread Jim Byrnes


Richard D. Worth wrote:



I'm assuming you're on http://plugins.jquery.com/ and using the search box
in the upper-right called 'Search Plugins'. That searches all content on
plugins.jquery.com, showing plugins and issues. If you look at the top of
the left sidebar you'll see an advanced search with an option to only search
for plugins. Give that a try?


Actually I tried that but I misread the results as looking like those 
from the other search box, that was my bad.  Thanks for the pointer.



Maybe it has something to do with the fact that when I clicked on
plugins->browse by name I ended up at a blank page.



That looks like a bug, but I think a separate issue. Please create a ticket
here


The "all plugins" link at the top of the page gives me the same results. 
I wonder why no one else has seen this.  I hesitate waste everyones time 
by creating a ticket if the problem is on my end.  If someone else could 
confirm the problem I would be happy to create a ticket.


Regards,  Jim


http://dev.jquery.com/newticket (note: requires registration)

and set the component to 'site' so it doesn't get missed here. Thanks.

- Richard





[jQuery] Jquery site navigtion

2009-10-15 Thread Jim Byrnes

What is the best way to find plugins on the jQuery site?

Yesterday I saw a plugin mentioned and wanted to learn more about it. I 
went to the jQuery site and entered its name in the search box thinking 
I would be taken to the download page for it, but instead got what 
looked like portions of discussions threads about it.

Maybe it has something to do with the fact that when I clicked on 
plugins->browse by name I ended up at a blank page.

Regards,  Jim