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,
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
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
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
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
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
: [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
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:
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
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
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
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 = {
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
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
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
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
16 matches
Mail list logo