Re: [jQuery] JQuery Form plugin

2007-03-17 Thread George Moschovitis
AJAX can't be used to upload files. Systems that look like they do use an iframe (e.g. Gmail) I managed to do it with an iframe like you suggested. It seems to work great. View the source of the page in http://www.nitroproject.org/fora to see how my hack-solution works. thanks for the idea,

[jQuery] JQuery Form plugin

2007-03-15 Thread George Moschovitis
Dear devs, I am using the JQuery forms plugin and I have a problem. I would like to post a form that containse a file, ie I have to use enctype=multipart/form-data. How can I set this up when using ajaxForm()? Is there an example how you can upload files using ajaxForm()? thanks in advance for

Re: [jQuery] JQuery Form plugin

2007-03-15 Thread Mike Alsup
I am using the JQuery forms plugin and I have a problem. I would like to post a form that containse a file, ie I have to use enctype=multipart/form-data. How can I set this up when using ajaxForm()? Is there an example how you can upload files using ajaxForm()? thanks in advance for any

Re: [jQuery] JQuery Form plugin

2007-03-15 Thread George Moschovitis
The form plugin does not currently support file uploads. Is this something easy to fix? Any workaround? -g. -- http://blog.gmosx.com http://cull.gr http://www.joy.gr http://nitroproject.org ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] JQuery Form plugin

2007-03-15 Thread Rob Desbois
SUBJECT: [jQuery] JQuery Form plugin Dear devs, I am using the JQuery forms plugin and I have a problem. I would like to post a form that containse a file, ie I have to use enctype=multipart/form-data. How can I set this up when using ajaxForm()? Is there an example how you can upload files using

Re: [jQuery] JQuery Form plugin

2007-03-15 Thread George Moschovitis
Just set the 'enctype' attribute of the form as usual: form id='my_form' action='x.php' method='POST' enctype='multipart/form-data' ... /form Have you actually tried this? This doesn't work for me :( -g. -- http://blog.gmosx.com http://cull.gr http://www.joy.gr http://nitroproject.org

Re: [jQuery] JQuery Form plugin

2007-03-15 Thread Rob Desbois
: [jQuery] JQuery Form plugin Just set the 'enctype' attribute of the form as usual: form id='my_form' action='x.php' method='POST' enctype='multipart/form-data' ... /form Have you actually tried this? This doesn't work for me :( -g. -- http: //blog.gmosx.com http: //cull.gr http: //www.joy.gr

Re: [jQuery] JQuery Form plugin

2007-03-15 Thread Sam Collett
On 15/03/07, George Moschovitis [EMAIL PROTECTED] wrote: The form plugin does not currently support file uploads. Is this something easy to fix? Any workaround? -g. -- http://blog.gmosx.com http://cull.gr http://www.joy.gr http://nitroproject.org You may be able to use this plugin:

Re: [jQuery] JQuery Form plugin

2007-03-15 Thread limodou
On 3/16/07, George Moschovitis [EMAIL PROTECTED] wrote: Just set the 'enctype' attribute of the form as usual: form id='my_form' action='x.php' method='POST' enctype='multipart/form-data' ... /form Have you actually tried this? This doesn't work for me :( There is a ajaxUpload plugin

[jQuery] jquery form plugin

2007-02-19 Thread Timothy Bowler
Hi, Just been using the ajax form plugin - its pretty kewl. However, im trying to perform some validation and to access a field the api says to use: |var value = $('#myFormId :password').fieldValue(); I have tryed this and if I use alert, the value is undefined. The form has both name and

Re: [jQuery] jquery form plugin

2007-02-19 Thread Mike Alsup
Hi Tim, Do you have a sample page? fieldValue should never return undefined for a password field. You can see examples of fieldValue in action on this page: http://www.malsup.com/jquery/form/#fields Mike I have tryed this and if I use alert, the value is undefined. The form has both name

Re: [jQuery] jquery form plugin

2007-02-19 Thread Timothy Bowler
Hi Mike, I am trying to get the value of a name field - below is part of the form and the JS Thanx from page: form name=contactForm id=contactForm action= method=post .. Your Namebr / input type=text name=name / /form from JS $(document).ready(function(){ var options = {

Re: [jQuery] jquery form plugin

2007-02-19 Thread Mike Alsup
I am trying to get the value of a name field - below is part of the form and the JS Tim, First, don't use ajaxForm and ajaxSubmit together. Pick one or the other. ajaxForm is almost always the best one to choose. Try this: html head script type=text/javascript src=jquery-1.1.1.js/script

Re: [jQuery] jquery form plugin

2007-02-19 Thread Timothy Bowler
Thank you very much Mike, ill try that later. One last thing, if i want the form to be submitted by an html link rather than a submit button how do i do that ? Thanx in advanced Tim -- ___ Timothy M Bowler BSc(Hons) MSc MIET | Technology

Re: [jQuery] jquery form plugin

2007-02-19 Thread Mike Alsup
Thank you very much Mike, ill try that later. One last thing, if i want the form to be submitted by an html link rather than a submit button how do i do that ? Tim, That's a case when you would use ajaxSubmit instead of ajaxForm because you want to submit the form in response to the anchor's

Re: [jQuery] jquery form plugin submitting 3 times

2007-02-07 Thread Ⓙⓐⓚⓔ
I hit your site with firefox 2 .. and I see 1 submit for each your turn click. But you have problems with the encoding! (they’re looks pretty bad! On 2/7/07, Tom Shafer [EMAIL PROTECTED] wrote: I am using the jquery form plugin and it seems to submit 3 times. I have looked at the php code