Can anybody help?
On Oct 16, 9:52 pm, "factoringcompare.com"
wrote:
> Hi
>
> Complete newbie now completely out of depth!
>
> I have built a form using form wizard pluginhttp://home.aland.net/sundman/.
> It caters for the intergration of “Form Plugin”http://malsup.com/jquery/form/.
>
> I now wan
perfect, thanks I got it fixed.
On Oct 3, 6:39 am, Mike Alsup wrote:
> > Sure, here it is. Thank you!
>
> >http://test.nmrwiki.org/wiki/index.php?title=Special:People&command=/...
>
> Ok, so here is the source for one of your forms:
>
> Administrator (1)
>
>
>
>
>
>
>
> Sure, here it is. Thank you!
>
> http://test.nmrwiki.org/wiki/index.php?title=Special:People&command=/...
>
Ok, so here is the source for one of your forms:
Administrator (1)
That is not valid markup. If you look at Firebug you will
Sure, here it is. Thank you!
http://test.nmrwiki.org/wiki/index.php?title=Special:People&command=/people/moderate/
there are many identical forms with different data.
javascript submission goes to a different url -> to wsgi application,
which is set in the script
/pywiki/media/scripts/people.js
> I've used $(#myform).ajaxForm(options)
> method to make the form submittable with ajax.
>
> the problem is that no matter what button I click the
> form data is the same and element is not
> included
> into the form data, as if it were not a "successul control".
>
> so at this point form doesn'
If your AJAX call returns a fragment with a script tag in it, then
dropping it into the page via the jQuery html(fragment) method should
run the script.
On Fri, Sep 11, 2009 at 9:36 AM, Jan wrote:
>
> I'm stuck with the same problem, i'm also trying return a 'partial
> page' containing a script
I'm stuck with the same problem, i'm also trying return a 'partial
page' containing a script tag with some javascript i would like to see
excecuted ..
I've tried the textarea suggestion but can't seem to get it to work (i
tried the dataTypes 'json' and 'script' and even 'xml' out of sheer
despera
Hello!
On Wed, Aug 26, 2009 at 9:04 PM, Mike Alsup wrote:
> Kostya is correct. Try embedding the response in a textarea element -
> the plugin will automatically extract if for you and no escaping is
> needed.
This don't works, because response embedding in a textarea only needs,
if the respon
> It looks like the problem is that the form is submitted into generated
> Iframe, which doesn't have references to jquery or other JS libraries
> that you might be using.
Kostya is correct. Try embedding the response in a textarea element -
the plugin will automatically extract if for you and n
It looks like the problem is that the form is submitted into generated
Iframe, which doesn't have references to jquery or other JS libraries
that you might be using.
I'm not too sure if there is an easy way around it as my JS/jquery
skills are far from perfect. One of the dodgy solutions that com
Hello!
On Mon, Aug 24, 2009 at 9:46 AM, kostjazz wrote:
> Hi All,
>
> I also experience the very same problem.
>
> I also found that when it happens it submits the form twice.
For me not need to submit twice the form, only one submit enough to
produce the error.
> I haven't tried upgrading the
Hi All,
I also experience the very same problem.
I also found that when it happens it submits the form twice.
I haven't tried upgrading the version but the one I'm using is 2.10
(05/08/2008)
Cheers
Kostya
- Scott Grizzard
sc...@scottgrizzard.com
http://www.scottgrizzard.com/
-Original Message-
From: sunny
Date: Wed, 12 Aug 2009 07:04:01
To: jQuery (English)
Subject: [jQuery] form plugin not working
New Organization Building Floor
//wait for the DOM to be loaded
$(document).ready(
> I found out it's because I need an existing element for option "target".
> I didn't want any element to be updated by the result, that's why I put this
> #dummy pointing to nowhere.
> Well, I added an element display:none in my Html and point it to that one
Why use the target option if you don'
I found out it's because I need an existing element for option "target".
I didn't want any element to be updated by the result, that's why I put this
#dummy pointing to nowhere.
Well, I added an element display:none in my Html and point it to that one
...
debussy007 wrote:
>
> Hi,
>
> it see
Wow -- that answer turned out to be both 100% correct and completely
off-topic for this forum! Thanks so much Dutch, I'm incredibly glad
you happened to spot this post and comment on it. I'd been barking up
the wrong tree and don't even want to think about how long it would
have taken me to track
Are you using php sessions?
The start session call blocks untill the other script finishes.
Script A:
-> session_start();
-> do stuff for 30 sec
Script B:
-> session_start(); // waits 30 secs untill Script A releases the
session
-> do stuff for 2 sec
Suggestion solution:
Script A:
-> session_st
test
Hi John,
johnHoysa wrote:
Actually I jumped the gun but hopefully soon I will figure this out.
My understanding is that both ajaxSubmit and validate are registered
on the Form submit event. So both events are fired at the same time.
Thus when the form's beforeSubmit callback fires, the va
Actually I jumped the gun but hopefully soon I will figure this out.
Got it working with the below code! Had to move my validation to the
top of the pre submit calls so it would validate first then do the
rest of the ajax submit I think. Hopefully this works for me!
Again Gustavo thanx for the help!
John
var options = {
//meta:
Hmm still seem to be having some issue with it. The code is not
properly posting to sessions.cfm I think. Looking at firebug every
thing seems to be fine but when I then pull back in my tasks.cfm the
data was never written to sessions.cfm properly.
The validation is working currently.
Appreciate
Can't wait to test it out tomorrow morning!
You are correct with what I am trying to do, sorry I didn't explain it
earlier.
I really appreciate your help, have a good day/night.
I did mistake my past code, now it seens to do what you want to:
jQuery("#myForm").validate({
meta: "validate",
submitHandler: function(form) {
jQuery(form).ajaxSubmit({
success
Hi there, Gustavo,
Thanx for the help, but it seems to not be posting anything to the
file now. I will probably look more in-depth into the basics of what
you recommended to see if I can figure out what I might be doing
wrong.
I am also trying to use the following code as well. There is a before
I dont know if i get what you want to do but
Try to add a success function to your ajaxsubmit function, lke this:
jQuery(form).ajaxSubmit({
target: "#newTasks",
success:function(html){
$.get('tasks.cfm',{},function(data)
> $.ajaxSetup({async:true});
I added that at the top of the $(document).ready(function() function,
but I'm still getting the same result.
> Btw, i work a lot with ajax and i've never had this problem.
I'm wondering if maybe I'm not describing this problem properly... I
feel like the trouble I'm
Try
$.ajaxSetup({async:true});
I think its the only reasonable explanation.
Btw, i work a lot with ajax and i've never had this problem.
2009/6/2 dann <00d...@gmail.com>
>
> Thank you both for the help!
>
> > Is the 30 second request a file upload?
>
> No file uploads involved: it's just a sing
Thank you both for the help!
> Is the 30 second request a file upload?
No file uploads involved: it's just a single text input that's
submitted, but the processes on the server can take awhile.
> Be sure to set the ajax param 'async' to true.
In the ajax docs it looks like it's set to true by
Be sure to set the ajax param 'async' to true.
2009/6/2 Mike Alsup
>
> > The problem I'm having is that the form submissions seem to be queued
> > and submitted synchronously, so if a user submits a request that takes
> > say 30 seconds and then immediately submits another request that only
> >
> The problem I'm having is that the form submissions seem to be queued
> and submitted synchronously, so if a user submits a request that takes
> say 30 seconds and then immediately submits another request that only
> takes 2 seconds the latter results aren't displayed for 32 seconds. It
> also s
So when I added the error and complete callbacks I can see it working,
but I'm getting an error. It looks like it's submitting 3 times and
is timing out.
On May 31, 7:00 pm, Robbie Clutton wrote:
> Hey, I tried the form plugin, but I'm not getting the expected
> complete event. Below is the co
So when I added the error and complete callbacks I can see it working,
but I'm getting an error. It looks like it's submitting 3 times and
is timing out.
On May 31, 7:00 pm, Robbie Clutton wrote:
> Hey, I tried the form plugin, but I'm not getting the expected
> complete event. Below is the co
Same problem.
I have a working ajaxSubmit form.
When I replace a textarea with fck the ajaxSubmit is not working
anymore.
console.log in beforeSubmit works but then the form is submitted
without ajax but with a page reload.
Dennis,
You could do a manual AJAX submit and then just manually serialize your form
fields.
Also, before doing the AJAX submit, you could do something like:
$("#your_form").append("#your_dialog");
This would move the fields back into the element.
-Dan
On Mon, Apr 27, 2009 at 5:16 AM, dth wr
Aha!
I guess it must be because the dialog is moved to be the last element
of the body element, and thus outside of the form.
I guess that's necesarry for absolute placement etc.
I'll see if I manually can pick up the extra field values. Suggestions
are welcome :)
-dennis
On Apr 27, 11:11 am
Hi,
Is there someone on the list with detailed knowledge of how browsers
handle input fields. Or somebody that knows in detail what the jquery-
ui plugin actually does to a div.
According to firebug not much is altered, and the fields should be
included in the form as far as I can tell. But they
As far as I can tell they should all be just fine. If I disable the
jquery-ui-dialog and just display the fields (in tabs) in the page,
they work just fine.
So it must be caused by the dialog plugin somehow.
I have text inoput fields and checkboxes. They all have names. None
are disabled (unless
> Are hidden form fields not included? Any ideas on how to circumvent
> this?
No, hidden form fields are not excluded. What does your markup look
like? There are several reasons that inputs would not be submitted:
- the input does not have a name attribute
- the input is disabled
- the input i
I'm having the same issue. Anyone?
On Mar 23, 9:29 pm, Joshua wrote:
> I downloaded thefckeditorjquery plugin because i was told it would
> resolve issues with submitting forms via Form Plugin ajaxSubmit.
>
> But everytime I do it, my form won't submit anymore...
>
> My dialog button appears to
> Hello, I'm trying to submit a form via Ajax and receive a JSON return
> type
>
> http://imgur.com/2KZ1.png
>
> As you can see in the screen shot, I call the method ajaxForm, and on
> success of the ajax call, processJson is being invoked. This method
> only outputs a data.message alert.
>
> For
> I was on v2.18 (still the latest rev listed on the jquery.com site). I
> downloaded v2.24 and the problem is gone.
>
> Thanks for the quick response though!
Glad to hear it. Thanks for letting me know.
I was on v2.18 (still the latest rev listed on the jquery.com site). I
downloaded v2.24 and the problem is gone.
Thanks for the quick response though!
John
- Original Message -
From: "Mike Alsup"
To: "jQuery (English)"
Sent: Saturday, March 14, 2009 7:18 PM
> I am having difficulty tracking this down - there is no apparent
> error...just nothing happens. Nothing is sent to the server, so this
> is not a problem with display the response - there is no response
> because the form never submits.
>
> Does anyone know about problems with IE7 or IE8 using
> I seem to be capped at 7mb or so in file size. Nothing seems to really
> happen if I try and upload a file larger (smaller files work
> flawlessly) and ideas?
The form plugin does not impose any file size limitations. However,
your server might.
Why are some inputs submitted later?
Why not all at the same time?
Rick
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of makrohaus
Sent: Thursday, March 05, 2009 3:42 AM
To: jQuery (English)
Cc: m.gillho...@makrohaus.de
Subject: [jQuery
Thank you Mike for taking the time to trouble shoot this with me. I really
appreciate it.
Susie "BogusRed" Sahim
http://www.PaperDemon.com
On Thu, Feb 19, 2009 at 3:58 AM, Mike Alsup wrote:
>
> > Hooray! I'm so happy its fixed!!!
>
> Excellent, Susie. So glad to hear it!
>
Yeah, these are nasty alright. I had a hell of a time on someone's
code where the input submit button's name was 'submit'.
On Feb 19, 1:43 pm, Mike Alsup wrote:
> > After spending literally hours tracking down the problem, I found it.
> > One of the form's input name and id is set to 'length' in
> After spending literally hours tracking down the problem, I found it.
> One of the form's input name and id is set to 'length' in the HTML.
> Once I changed it to something different, it worked fine.
>
> Has anybody seen this issue before?
Ooh, that's nasty. You must have had fun with that one
> Hooray! I'm so happy its fixed!!!
Excellent, Susie. So glad to hear it!
I FIXED IT I FIXED IT I FIXED IT I FIXED IT I FIXED IT
*jumps up and down for joy*
Ok there were two problems.
FIRST problem: In my beforeSubmit option I was actually getting rid of the
form before the plugin had a chance to create the iframe and submit it
properly:
b
Hi Mike,
I took out the duplicate binding that was at the bottom of the page. but the
file upload still doesn't work and no part of the submit goes through.
Susie "BogusRed" Sahim
http://www.PaperDemon.com
On Mon, Feb 9, 2009 at 4:46 PM, Mike Alsup wrote:
>
> > Thank you again for working with
I am using prettypopin for the link on the index page to open
updatephoto.php. The index page also uses some other jQuery features.
I've included the jQuery in case you see something that may be wrong
or conflicting, and the HTML link tag.
Thanks
Pasquale
jQuery:
$(document).ready(functio
On Feb 10, 12:04 am, spiderling wrote:
> I am using prettyPopin lightbox for a file upload form, and I am also
> using jQuery Form Plugin to upload the image file and update it
> accordingly. Unfortunately, the file is not being sent. The $_FILES
> array is empty. I've included the jQuery and H
> Thank you again for working with me on this! I really appreciate it.
> Hopefully we'll get to the bottom of this.
>
> Susie "BogusRed" Sahimhttp://www.PaperDemon.com
One thing to do right away is to get rid of the duplicate submit
binding code. You test page has an inline script block which ca
Thank you Mike for the quick response.
I uploaded your latest version and am experiencing the same problem I had
with v. 2.16
text only works just fine.
using image attachment the form data does not get saved on the php end.
the ajaxSubmit() makes it to the success call back even though it wasn't
> I just upgraded the plain page to the latest version of jquery and the form
> plugin. And I noticed that with the new version, it does not make it to the
> success callback and you'll see this when you submit the form it gets stuck
> on the "loading..." text This was likely a bug fix of some kin
Mike, thank you so much for your patience with me on this one.
I've created a simplified version of this page taking out all of the css and
unnecessary javascript. all that is there is jquery, form plugin, and the
few functions used for the page:
http://www.paperdemon.com/tests/comments_plain.php
If I resume the situation :
text fields file field $_POST
$_FILES Remark
--
filledfilled empty
filled abnormal
Hi Mike,
This thread seems to be similar to my problem submitted by email
(subjet: about url)
On 30 jan, 18:37, Mike Alsup wrote:
> > No, you are not supposed to do anything at all with the iframe. The
> > plugin handles all of that for you. I'll try to take a look at your
> > page tomor
> No, you are not supposed to do anything at all with the iframe. The
> plugin handles all of that for you. I'll try to take a look at your
> page tomorrow.
Well, I have to admit that I'm not sure why your page isn't working.
However, I did create a very simple test case here:
http://jquery.m
> But this is the exact part of the documentation that I don't understand. Am
> I supposed to place an iframe somewhere? How does jquery know which iframe
> in the page is the correct one? How do I tell it which php file to send the
> file to so I can process the file upload? This is what I don't
BB san wrote:
>
> hey, you are right, the key point should be iFrame.
> I guess your file has successful uploaded.
>
> The problem is your server responses to your iframe, not to your original
> page.
> that is why you don't see the POST action does not appear in Firebugs Net
> > XHR panel
>
I've set up a page here:
http://www.paperdemon.com/tests/commentsclass.php
log in with the following info:
login: t...@yahoo.com
password: p455w0rd
After Logging in, click on "Post a Comment" and type a message and select a
jpg image to upload. Then hit submit.
> In Firefox, when a file is att
> Sorry for the delayed response. I tried taking a break from it and
> coming back to it with a fresh mind. It's not easy for me to set up a
> page for you to test because the app requires a log in.
It is always helpful if you can simplify the problem down to a small
test page. 90% of the time t
Hi Mike,
Sorry for the delayed response. I tried taking a break from it and
coming back to it with a fresh mind. It's not easy for me to set up a
page for you to test because the app requires a log in. But lets see
how far we can get without it.
I tried submitting the form in a non-ajax environme
The form that is turned into a dialog is a separate form at the end of
the main form. Relevant code below. It seems the combination of
dialog + File element + Form plugin (ajaxSubmit() or ajaxForm() ) is a
no-go. The ajaxSubmit() works fine when there is no FILE element OR
the form is moved out
Your issue may be related to the fact the when you call .dialog(), it moves
the element it wraps (the dialog content) to the end of the body (no other
way to get it to be on top in IE). This trips up some people because they'll
turn a part of a form (say a fieldset or a div inside a form) into a di
I found the problem, it was an extra form tag that I had on the page
nested in my other form tag. I copied and pasted in code for paging
from the table sorter plugin and never removed the form tag from the
example. Once I removed that it worked great. Thanks for your
response. I have to say that t
> I'm using the form plugin and the most recent version of blockUI.
>
> Here's my form initialization area:
>
> $(document).ready(function() {
> var options = {
> target: '#search_results', // target
> element(s) to
> be updated
> I am working on an ajax app that uses jquery's form plugin and it works just
> fine until I add a file upload input into my form:
>
>
>
> If I take these input fields out, my form works fine and submits and saves
> no problem. But once I added these parts to my form html, the jquery form
> plu
> I am returning JSON from the Form Plugin using a file upload and it
> returns a file with the value in it for download and does not his the
> success callback. Any reason for this? It only does this when a file
> is in the file upload.
This sounds familiar! Check out this recent thread:
htt
> Ooooh, right, I didn't think of that (I am fairly new to making stuff with
> ajax). I guess there is no way to make the ajaxForm function wait for this
> particular response? But I guess this is a different topic now..
The way to do it is to return false from the beforeSerialize function;
that
malsup wrote:
>
> This sort of thing comes up a lot so I've added a new callback
> function called 'beforeSerialize'. You can use it like this:
>
> var ajaxFormOptions = {
> beforeSerialize: function($form, opts) {
> $("#hidden_input").attr("value","test");
> }
> };
>
> $('#f
malsup wrote:
>
>
>> but for some reason the input field stays empty this way:
>
> Yeah, that reason is known as asynchronous programming. When you make
> that ajax call you will get a response some time in the future, not
> immediately.
>
>
Ooooh, right, I didn't think of that (I am fai
> but for some reason the input field stays empty this way:
Yeah, that reason is known as asynchronous programming. When you make
that ajax call you will get a response some time in the future, not
immediately.
> I'm trying to use the jQuery Form Plugin (http://www.malsup.com/jquery/
> form/). The "ajaxSubmit" code sample works fine for me in IE7, but it
> doesn't work at all in Firefox3. The form submits normally, without
> any JS errors. Has anyone else run into this, and if so is there any
> way to fi
Ok, it seems I still need help here.
var ajaxFormOptions = { beforeSerialize: function(){
$("#hidden_input").attr("value","test"); } };
$('#form').ajaxForm(ajaxFormOptions);
works fine now :). However, in reality, I don't want to set the value of the
input field to an arbitrary value, I actua
> I am using the jQuery Form Plugin to submit a form via AJAX. One thing I'd
> like to do, is editing the value of a (hidden) input field, right before the
> form is sent (or alternatively adding additional POST data in some way
> before send). I defined a hidden input field (without a value) in t
It should be noted that the portion of the form is
cloned and inserted when a user clicks a link. I think that part of
the problem is that the plugin isn't detecting the value of the file
input even though it is present in the data (seen via the console).
On Sep 27, 11:06 am, Adam <[EMAIL PROTEC
On 5 Set, 01:24, Mike Alsup <[EMAIL PROTECTED]> wrote:
> Unfortunately there is no way to know the progress of the upload with
> just HTML/JavaScript. But you can do this with Flash. Here's an
> example:
>
> http://www.pixeline.be/experiments/jqUploader/
>
> Mike
thanks mike :)
andrea varnier ha scritto:
thank you, the post is really good, but the server here is running PHP
5.1 :(
Without apc extension you can't do it in php/javascript.
As mentioned from Mike Alsup the are a different solutions in flash.
I've never used jqUploader, but I've used SwfUpload, and wit
> what I am trying to do is a file-upload form that uses ajax (and so
> I'm using the form plugin) and that shows a progress bar while
> uploading.
> I've tried many solutions that I found over the internet but none
> seemed to work.
> possibly I am making mistakes somewhere in the process.
> ques
On 4 Set, 14:21, Giovanni Battista Lenoci <[EMAIL PROTECTED]> wrote:
> Hi andrea, it depends on what server side language you are using.
>
> Since you're italian I think this link can help you understand how to
> work with the apc extension for doing it in php:
>
> http://forum.html.it/forum/showt
Dear andrea I have the same Problem If you found what to do please let me
know
On Thu, Sep 4, 2008 at 2:45 PM, andrea varnier <[EMAIL PROTECTED]>wrote:
>
> Hi :)
> what I am trying to do is a file-upload form that uses ajax (and so
> I'm using the form plugin) and that shows a progress bar while
andrea varnier ha scritto:
Hi andrea, it depends on what server side language you are using.
Since you're italian I think this link can help you understand how to
work with the apc extension for doing it in php:
http://forum.html.it/forum/showthread.php?s=45a4891980adf6a46be2e9801af5f034&thr
> Hi All,
>
> I'm having a problem with the form plugin.
>
> When I press enter in a type="file" input field, I'm brought to a new
> page instead of the current page being updated.
>
> In the attached code, press enter in the type="text" field, and it
> works as expected, but press enter in the ty
> I am trying to add a loading gif to the form plugin, but each time I
> do, it breaks.
>
> I am using:
>
> $(document).ready(function() {
>
> //Create function for ajax asset builder
> $('#page_asset_builder_28031').ajaxForm({
> iframe: true,
> success: function(html) {
> $("#loading").show
> All I'm trying to do is make the options persist into the success
> callback - just like they do in the beforeSubmit callback. This way
> some information can be stashed on dynamically generated javascript.
Since the form plugin uses jQuery's $.ajax method under the hood, you
could use the 'co
What is x-domain? out of localhost?
On Fri, May 23, 2008 at 5:43 PM, Mike <[EMAIL PROTECTED]> wrote:
>
> > I have tried the ajax Form plugin. It works great if the email.php action
> is
> > in the same server/folder. When I use a remote one, from another server,
> it
> > just substitute the whole
> I have tried the ajax Form plugin. It works great if the email.php action is
> in the same server/folder. When I use a remote one, from another server, it
> just substitute the whole page on the browser by the remote email.php. It
> does send the email form, but show all the content I want to ke
> $('#sub_immagini').ajaxForm();
>
> if I submit it while it's empty it seems to work (with firebug I see
> the post request, even if I get no response, and that's strange), if I
> try to upload a file, it does nothing (the page is reloaded, as if
> there was no ajaxForm bind)...
>
> what am I doi
> Is there a way to make this dynamic?
>
> I have ~ 100 lines that need to be written into a table of data which
> a check box indicating status of a project (complete or not).
> Each checkbox has an id="check1" or "check2" etc.
> What I'm looking to do is to trigger a function that submits
>
Is there a way to make this dynamic?
I have ~ 100 lines that need to be written into a table of data which
a check box indicating status of a project (complete or not).
Each checkbox has an id="check1" or "check2" etc.
What I'm looking to do is to trigger a function that submits
ProcessThe Data.a
Thanks - that's what I needed.
On Apr 29, 4:34 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> > Can someone please point me in the right direction? I am using the
> > form plugin and it works great on a form submit action. Is there a
> > way I can use it on a click event on a checkbox or onbl
> Can someone please point me in the right direction? I am using the
> form plugin and it works great on a form submit action. Is there a
> way I can use it on a click event on a checkbox or onblur for a text
> field to immediately save the user's data? Thanks in advance for your
> help.
>
For now what I found is I put a javascript redirect, since
header('Location..') php function simply loads the content which is
then returned in the div element.
I use javascript function location.href, which seems to be a viable
alternative for now. It does require javascript, but hey the form
plu
> You could also push more info into the data array, using the
> 'beforeSubmit' right ?
> Although, is Mike's option is a possibility, that's always cleaner.
You can add extra data in the beforeSubmit handler, or more
conveniently, in the plugin fn:
$('#myForm').ajaxForm({
// use data pro
On 06/03/2008, Mike Alsup <[EMAIL PROTECTED]> wrote:
>
> > Is that just because it's jQuery or does that apply in general to all
> > browsers doing AJAX?
>
>
> It's a technique used by all the major JavaScript libraries.
>
Thanks a lot! I didn't know that.
--
Peter Bengtsson,
work www.fry-i
> Is that just because it's jQuery or does that apply in general to all
> browsers doing AJAX?
It's a technique used by all the major JavaScript libraries.
1 - 100 of 172 matches
Mail list logo