[jQuery] Re: Jquery form plugin can't find resolution

2010-02-15 Thread Marty Jones
Instead of doing $(this).ajaxSubmit(options); try $('#formId').ajaxSubmit(options); where #formId is the id of the form you are submitting. On Feb 14, 8:58 am, NHARRY wrote: > I have a form that is loaded using .load it is then posted using the > jquery form plugin. But i

[jQuery] Jquery form plugin can't find resolution

2010-02-14 Thread NHARRY
I have a form that is loaded using .load it is then posted using the jquery form plugin. But it won't post see code: $(document).ready(function() { //shows loading screen whilst posting via ajax $().ajaxStart($.blockUI).ajaxStop($.unblockUI); //post form add_cus

[jQuery] Re: jQuery Form Plugin

2010-01-13 Thread Mike Alsup
Use Firebug to see what data is actually being posted to the server. > in update_homepage.php i save data to mysqldb. > > But if i click to submit buton, i see in OK > echo from update_homepage.php, but in db is only first (Nadpis) field > of form. And (!!!) if i click to this button second time

[jQuery] jQuery Form Plugin

2010-01-13 Thread solich
Hello. I have a form: Nadpis: Text: and this form i want tu send trough jQuery plugin: $(document).ready(function() { $('#mujform1').ajaxForm({ target: '#odezva', success: function() { $('#odezva').fadeIn('slow'); }

[jQuery] Re: form.submit not function error jquery form plugin

2010-01-08 Thread -null-
sigh...several hours later I find out it's because the submit button has the id "submit" :(

[jQuery] form.submit not function error jquery form plugin

2010-01-08 Thread -null-
I'm trying to get an upload popup working with the jQuery form plugin (http://jquery.malsup.com/form/). When I click a link I load a form html from the server and add it to a container div by setting the div's html attribute. I then attach a submit handler to the form so I ca

[jQuery] [Form Plugin] Plugin returning page html on success

2010-01-07 Thread Jahvi
Hi I have a weird problem using the form plugin on a login page on my site, the form html is: Form elements. I'm using dologin.php to check the login and password on my DB if the login and pass is ok it returns 'ENTER', if its correct but the user is disabled it returns 'DISABLED' el

[jQuery] jQuery Form plugin and IE

2009-12-13 Thread michaelF
t the form. i'm using jquery form plugin and trigger ajaxSubmit() function after a simple validation. A few people have successfully submitted the form using IE. but not all. Any ideas or suggestions? The site is at: www.msfaron.com

Re: [jQuery] Re: simple jquery form plugin question

2009-11-26 Thread David
Thank you very much Kelly! You solved my problem. On Thu, Nov 26, 2009 at 12:59 AM, Kelly wrote: > Hi David, > I was able to recreate the same problem and fixed it. Try this: > > > jQuery Form Plugin > > form { background: #DFEFFC; border: 5px solid #c5dbec; margin: 10

[jQuery] Re: simple jquery form plugin question

2009-11-26 Thread Kelly
Hi David, I was able to recreate the same problem and fixed it. Try this: jQuery Form Plugin form { background: #DFEFFC; border: 5px solid #c5dbec; margin: 10px 0; padding: 20px } // wait for the DOM to be loaded $(document).ready(function() { // bind 'm

Re: [jQuery] simple jquery form plugin question

2009-11-25 Thread brian
Are you sure that your javascript is being loaded properly? You can check that easily with Firebug or the FF WebDeveloper extension. On Wed, Nov 25, 2009 at 7:07 PM, David wrote: > Hi, > > Just started using jquery and it looks really good! > I have question regarding the jQuery

[jQuery] simple jquery form plugin question

2009-11-25 Thread David
Hi, Just started using jquery and it looks really good! I have question regarding the jQuery form plugin. I tried to get the simplest example I could up and running but I ran into a wall. In the example when I press submit, I expect an alert box to appear but I only get directed to the url that

[jQuery] Jquery form plugin and accessing formData

2009-11-25 Thread Mark J
I am using the excellent jquery form plugin to obtain form data, do some pre-submission processing, and pass the altered form on to a django view via ajax for some additional processing. I have a jQuery form plugin "beforeSubmit" function to basically divide a form field by 12 if anothe

[jQuery] jQuery Form Plugin

2009-11-15 Thread BarsMaster
Firs of all, perfect work. But I have problems with file uploads in opera 10. I found the reason. It is here: if (--domCheckCount) { // in some browsers (Opera) the iframe DOM is not always traversable when // the onload callback fires, so we loop a bit to accommodate cbInvoked = 0;

[jQuery] Re: jQuery form plugin and document.domain failure

2009-11-11 Thread Dave Methvin
.ajaxForm uses $.ajax, which uses XMLHttpRequest. There are some issues with the way xhr interacts with document.domain, independent of jQuery. http://fettig.net/weblog/2005/11/28/how-to-make-xmlhttprequest-connections-to-another-server-in-your-domain/

[jQuery] jQuery form plugin and document.domain failure

2009-11-11 Thread Vaclav Kohout
The situation comes like this using form plugin from http://plugins.jquery.com/project/form : $('#photoform').ajaxForm({ dataType : 'json' , success: function(data){ alert( data.result ) ; }, error: function(){ alert('error');

[jQuery] Re: Jquery Form Plugin not sending name of button in Safari

2009-11-04 Thread petersendidit
on elements are used > because they are much easier to style as needed. > > >         >         Save >         Save As Copy > > > I am using the jquery form plugin (http://jquery.malsup.com/form/) to > submit the form by ajax.  Everything works great in all browsers >

[jQuery] Jquery Form Plugin not sending name of button in Safari

2009-11-04 Thread petersendidit
I have a form with 2 button elements in it. Button elements are used because they are much easier to style as needed. Save Save As Copy I am using the jquery form plugin (http://jquery.malsup.com/form/) to submit the form by ajax. Everything works great in all

Re: [jQuery] Re: jQuery form plugin?

2009-11-02 Thread Jim Byrnes
the Malsup jQuery Form Plugin vers 2.33(22-Sep-2009). TEST Print Items Due Report Date to Print // test.js $(document).ready( function

[jQuery] Re: jQuery form plugin?

2009-11-02 Thread Mike Alsup
Can you post a link to this page, or a similar example page? 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 >    

[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: $('#

[jQuery] jQuery Form plugin and jQuery File Tree plugin

2009-10-26 Thread Julien
Hi, I can upload a file with this setup : - the "form.js" jQuery Form plugin script http://jquery.malsup.com/form/jquery.form.js?2.33 - the "files.php" which upload my files and print a validation message ... move_uploaded_file($_FILES["file"]["tmp_name&qu

[jQuery] Re: jQuery form plugin

2009-10-18 Thread Boray Eris
http://rapidshare.com/files/294601215/jqform.zip Uploaded to rapidshare. On Oct 18, 12:34 pm, "factoringcompare.com" wrote: > Can you post your full code so we can see? > > On Oct 17, 11:46 pm, Boray Eris wrote: > > >http://www.pidizayn.com/virtualsub/jqform > > > First form is ok. But second

[jQuery] Re: jQuery form plugin

2009-10-18 Thread factoringcompare.com
Can you post your full code so we can see? On Oct 17, 11:46 pm, Boray Eris wrote: > http://www.pidizayn.com/virtualsub/jqform > > First form is ok. But second one that pulled with jquery not working. > What's wrong?

[jQuery] jQuery form plugin

2009-10-17 Thread Boray Eris
http://www.pidizayn.com/virtualsub/jqform First form is ok. But second one that pulled with jquery not working. What's wrong?

[jQuery] Form Plugin

2009-10-16 Thread factoringcompare.com
Hi Complete newbie now completely out of depth! I have built a form using form wizard plugin http://home.aland.net/sundman/. It caters for the intergration of “Form Plugin” http://malsup.com/jquery/form/. I now want to post the form using the “Form Plugin” AJAX. I am using asp for severside.

[jQuery] jQuery Form Plugin - File upload with JSON response

2009-10-14 Thread Florent Paillard
Hi, I'm trying to use the jQuery Form Plugin for file upload with JSON response (basically, I need to get an uploaded file ID back from the server after upload) I have a problem when getting the data from the iframe back to the javascript in the main page because the json string is wrapped

[jQuery] Re: Using Jquery Form Plugin with Hidden fields

2009-10-13 Thread Giovanni Battista Lenoci
JamesF ha scritto: Hi, I am using the jquery form plugin and I am very surprised that it doesn't post hidden field values to my php file. Hi JamesF, I use the form plugin from a long time, and I'm sure that hidden fields are correctly submitted like a normal form do. Maybe the e

[jQuery] Using Jquery Form Plugin with Hidden fields

2009-10-12 Thread JamesF
Hi, I am using the jquery form plugin and I am very surprised that it doesn't post hidden field values to my php file. I need Need to receive it like: $tagsString = makeDataSafe($_POST[

[jQuery] Form Plugin issue with multiple submit buttons

2009-10-02 Thread Evgeny
Hi I have a form with several submit buttons. 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

[jQuery] Re: jquery form plugin upload problem

2009-09-12 Thread Jack Killpatrick
Thanks, Mike, it magically started working for me. I must have had something else cheesed ;-) Appreciate your response, it seems to be working nicely now. - Jack Mike Alsup wrote: I'm using the latest version of the jquery form plugin (from MAlsup) for file uploading. The upload works

[jQuery] Re: jquery form plugin upload problem

2009-09-12 Thread Mike Alsup
> I'm using the latest version of the jquery form plugin (from MAlsup) for > file uploading. The upload works: the server call happens, the file data > makes it there and the server returns a value, in this case just a > number (as plain text). I've been unable to get

[jQuery] jquery form plugin upload problem

2009-09-11 Thread Jack Killpatrick
Hi All, Hoping someone can help me out with this, been stuck on it for a while: I'm using the latest version of the jquery form plugin (from MAlsup) for file uploading. The upload works: the server call happens, the file data makes it there and the server returns a value, in this case j

[jQuery] Re: Jquery Form plugin : Multiselect problem

2009-09-11 Thread Mike Alsup
> I need to check all multiselect values before posting form. > How i can do it? > > I'm trying to use beforeSubmit function, but changes that I do there > doesn't applying to the formData. > (Form plugin send information that was grabbed before beforeSubmit > function). Try 'beforeSerialize' ins

[jQuery] Jquery Form plugin : Multiselect problem

2009-09-11 Thread kaiser Zaido
Hi, I need to check all multiselect values before posting form. How i can do it? I'm trying to use beforeSubmit function, but changes that I do there doesn't applying to the formData. (Form plugin send information that was grabbed before beforeSubmit function).

[jQuery] [Form plugin] clearForm:true strange behavior in IE8

2009-09-03 Thread Massimiliano Marini
Hi all, this behavior happen only in IE8 (now in my case), instead FF3+ and Chrome both works well. I've a form with two tag e two input text, I do a validation and submission with ajaxSubmit(). In IE8 clearForm:true works well but when I do another Submit and I've not changed the select valu

[jQuery] [Form Plugin] - Bug in version 2.28 at line 61 (lack semicolon)

2009-08-29 Thread Pablo-AR
Hi. Today I was trying compress the jQuery Form Plugin V 2.28 (http:// malsup.com/jquery/form/) with JavaScriptPacker (http:// dean.edwards.name/packer/) but I get an error in Firefox 3.5: "missing ; before statement". I revised the code and I can see that lack the semicolon at end

[jQuery] Re: jQuery Form Plugin ajax submit

2009-08-26 Thread Jules
To protect the input fields, use readOnly instead of disabled and the value will be included. On Aug 21, 9:39 pm, Chris Hall wrote: > Using the following code: > > $('.input_all').attr("disabled", "disabled"); > > for input texts with the class="input_all" seems to break jQuery forms > ajax subm

[jQuery] Re: jQuery Form Plugin ajax submit

2009-08-26 Thread Mike Alsup
> Using the following code: > > $('.input_all').attr("disabled", "disabled"); > > for input texts with the class="input_all" seems to break jQuery forms > ajax submit. > > How can I fix this? If you are expecting disabled inputs to be submitted then that is not really broken - disabled inputs sh

[jQuery] Re: jquery form plugin. IE doesnt work

2009-08-23 Thread markstegg...@googlemail.com
Thanks for the good advice. I downloaded the development version of jquery 1.3.2. IE script debugger is highlighting line 1897 return "submit" === elem.type; Surely there is nothing wrong with this?

[jQuery] Re: jquery form plugin. IE doesnt work

2009-08-23 Thread MorningZ
Well, here's your code from what i see $('#submitForm').click(function() { if ($('#contactForm').valid()) { $('#loading').fadeIn("slow"); $('#contactForm').ajaxForm(function(data) { ... more code }); } }); So, hopefully like you did, fired up IE8's console/de

[jQuery] jquery form plugin. IE doesnt work

2009-08-22 Thread markstegg...@googlemail.com
Hello, Im using ajaxForm to submit my contact form at futurekode.com: $('#contactForm').ajaxForm(function(data) {} -- This works fine in all browsers except IE7/8. IE error says theres a problem with jquery 1.3.2 and highlights this line: return"submit"===T.type Could someone take a look at

[jQuery] Form Plugin issue

2009-08-21 Thread Lay András
Hello! I'm using jQuery Form Plugin to upload files, and i discovered a strange issue. If the response data contains jQuery code, a "$ is not defined" javascript error occured, but the jquery code which produce this error message, is executed. This only happens when file is select

[jQuery] jQuery Form Plugin ajax submit

2009-08-21 Thread Chris Hall
Using the following code: $('.input_all').attr("disabled", "disabled"); for input texts with the class="input_all" seems to break jQuery forms ajax submit. How can I fix this?

[jQuery] my jquery form plugin not works

2009-08-12 Thread sunny
this is the code Edit Organization Department Category // wait for the DOM to be loaded $(document).ready(function() { // bind 'myForm' and provide a simple callback function $('#orgdepartmentcategory').ajaxForm(function() { //

[jQuery] form plugin not working

2009-08-12 Thread sunny
New Organization Building Floor //wait for the DOM to be loaded $(document).ready(function() { // bind 'myForm' and provide a simple callback function $('#orgbuildfloor').ajaxForm(function() { alert("Organization Building Floor saved!"); // document.getElementById('o

[jQuery] Re: jquery form plugin ajaxSubmit / fieldvalue inconsistent behaviour [jquery form]

2009-08-03 Thread rekna
On Aug 3, 4:57 pm, Mike Alsup wrote: > > if you have in html the following: > > > > > > > > ajaxSubmit will submit : > > > check : true > > check : false > > > $("#check").fieldValue() will return > > [ true ] > thanks for the comment... i should probably use $ ('[name=check]').fieldValue() i

[jQuery] Re: jquery form plugin ajaxSubmit / fieldvalue inconsistent behaviour [jquery form]

2009-08-03 Thread Mike Alsup
> if you have in html the following: > > > > > ajaxSubmit will submit : > > check : true > check : false > > $("#check").fieldValue() will return > [ true ] > > so, this is inconsistent with the result of ajaxSubmit, it should > return  [true,false] What is #check? Unless it's a select elemen

[jQuery] jquery form plugin ajaxSubmit / fieldvalue inconsistent behaviour [jquery form]

2009-07-31 Thread rekna
if you have in html the following: ajaxSubmit will submit : check : true check : false $("#check").fieldValue() will return [ true ] so, this is inconsistent with the result of ajaxSubmit, it should return [true,false]

[jQuery] [jquery form plugin] run function in success event

2009-07-30 Thread orangdalam
i wrote this code: function HidePreloader($idPreloader){ $($idPreloader).hide(); } $("#formPassword").ajaxForm({ target:'#container', clearForm:true, success: HidePreloader("#bluePreloader") }); ---

[jQuery] jQuery Validation Plugin & jQuery Form Plugin

2009-07-23 Thread Hayden Hancock
Validation plug-in version: 1.5.5 Form plug-in version: 2.28 I was able to get the validation and submit to work together properly. However, when using options in the validation plugin such as errorClass and validClass I was ran into some trouble. Upon submission, these classes would stick/stay.

[jQuery] Re: jQuery Form plugin with Yahoo UI

2009-07-17 Thread debussy007
s there any workaround for that ? > > Thank you for any help. > -- View this message in context: http://www.nabble.com/jQuery-Form-plugin-with-Yahoo-UI-tp24530556s27240p24533072.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

[jQuery] jQuery Form plugin with Yahoo UI

2009-07-17 Thread debussy007
Hi, When I add the jquery.form.js plugin from malsup, my Yahoo UI TreeView won't render anymore ... There seems to be some conflict. Is there any workaround for that ? Thank you for any help. -- View this message in context: http://www.nabble.com/jQuery-Form-plugin-with-Yah

[jQuery] Re: stop jQuery Form Plugin from being submitted multiple times.

2009-07-08 Thread tristan
On Jul 8, 5:10 pm, tristan wrote: > I'm sure this is very simple, I'm quite very new to JavaScript. I have > a function for submitting a form, I'd like it to stop the user from > submitting the form multiple times by click on my submit link multiple times. > I > haven't found a way to do this

[jQuery] stop jQuery Form Plugin from being submitted multiple times.

2009-07-08 Thread tristan
I'm sure this is very simple, I'm quite very new to JavaScript. I have a function for submitting a form, I'd like it to stop the user from submitting the form multiple times once they have clicked it. I haven't found a way to do this in the docs. Can anyone point me in the right way? My function

[jQuery] Form Plugin Large File Upload Problem

2009-07-07 Thread zendog74
I am using the JQuery Form Plugin on a form that is shown in a modal window (nyroModal) to upload files. It is working like a charm as long as the file is a reasonable size. However, if a user tries to upload a large file (say 100MB or more), when response comes back (HTML response), it re-loads

[jQuery] Form Plugin Question

2009-07-01 Thread icfantv
As jQuery has both a serialize() and serializeArray() method for serializing an HTML form to a String and JSON respectively, why does the Form Plugin at malsup.com include yet another serialize() method in the form of formSerialize()? I understand the fieldSerialize() method, but not the former.

[jQuery] Form Plugin Question

2009-06-29 Thread icfantv
As jQuery has both a serialize() and serializeArray() method for serializing an HTML form to a String and JSON respectively, why does the Form Plugin at malsup.com include yet another serialize() method in the form of formSerialize()? I understand the fieldSerialize() method, but not the former.

[jQuery] jQuery Form Plugin help

2009-06-22 Thread capnhud
I am having a problem using the jquery Form Plugin. I have a form that is setup to animate the errors when on submits incorrect information or gives you a succes message when you enter correct information. Howvever my problem is that the messages do not animate when being displayed they just pop

[jQuery] Form plugin - success callback not executed ?

2009-06-17 Thread debussy007
Hi, it seems that my success callback is not getting executed, however, the Ajax post seems to be ok (200) with the correct text output ... The other params have effect, e.g. the ajax calls will be synchronous (option async to false) $('td[id^=order]').each(function(i) { var tdId = $(th

[jQuery] Re: jquery form plugin and firebug conflict

2009-06-11 Thread Mike Alsup
>    success:       processJson,  // post-submit callback > > function process(data){ Is the function processJson or process??

[jQuery] jquery form plugin and firebug conflict

2009-06-11 Thread Val
Hi, I am using Jquery form plugin to interact with PHP server code. When firebug is on, the code correctly sends the data and processes the reply from the server in Json format. Here's the code: var options = { beforeSubmit: showRequest, /

[jQuery] Re: jQuery Form Plugin with a submit button outside of the form

2009-06-10 Thread johnHoysa
Yes valid markup rocks! I never thought of moving my form elements around like I did so I thought posting my temporary solution might be helpful to some. As I said temporary solution is the key phrase there. I was able to get one of my buttons working as needed but am having issues with my other

[jQuery] Re: jQuery Form Plugin with a submit button outside of the form

2009-06-09 Thread Mike Alsup
> You are able to span a form across a few divs. What I realized though > is that there must be an equel number of divs between the Form tags to > work properly Yeah, valid markup always helps. :-) http://validator.w3.org/

[jQuery] Re: jQuery Form Plugin with a submit button outside of the form

2009-06-09 Thread johnHoysa
You are able to span a form across a few divs. What I realized though is that there must be an equel number of divs between the Form tags to work properly for example this will work random content my form elements to submit content content submit button This will not work for me, and t

[jQuery] Re: jQuery Form Plugin with a submit button outside of the form

2009-06-08 Thread johnHoysa
> Why not do > > > [submit] > > ? What differs if you do this? If you move the form tag outside to an other div it just seems to stop working unless in IE7. I will try the button onclick like you suggested. Thanx for the help.

[jQuery] Re: jQuery Form Plugin with a submit button outside of the form

2009-06-08 Thread Necmettin Begiter
On Mon, Jun 8, 2009 at 18:10, johnHoysa wrote: > > I have my form working great as long as my submit button is contained > within the form tags. But the design calls for the submit button to be > outside of the form. Any suggestions? Don't get me wrong, but that is not logical at all. By design,

[jQuery] jQuery Form Plugin with a submit button outside of the form

2009-06-08 Thread johnHoysa
I have my form working great as long as my submit button is contained within the form tags. But the design calls for the submit button to be outside of the form. Any suggestions? Sample code and diagrams are below. I appreciate your help! John Hopefully this will help show you what I need -->

[jQuery] JQuery Form plugin AND DataTables plugin

2009-06-04 Thread brilang
I am using the DataTables Plugin on a table. Each row in the table contains a form. I am using the sAjaxSource initialisation option to retrive a JSON string from the server. I now want to add the JQuery Form event ajaxform to each form in the table. I think I have to use JQuery's Live event but I

[jQuery] Form Plugin and Validation, I am totally lost even after doing the research.

2009-06-03 Thread johnHoysa
I am new to jQuery and am having trouble understanding how to use the Form Plugin with the Validation Plugin. I can get both plugins to work separately but not together. Here is my code for the form plugin which works great - $('#myForm').ajaxForm(function() { $.get

[jQuery] Form plugin asynchronous behavior

2009-06-02 Thread dann
Hello all, An application I'm building has a form that can initiate several different actions on the server side, which take varying amounts of time to return (up to 30 seconds or so). I'm using the jQuery Form plugin to AJAXify the form. I've set the dataType option to json

[jQuery] form plugin, state change error

2009-06-01 Thread bfuzze
I'm using the ajax form plugin for jquery (1.2.6). I'm running into a problem with multiple submits, where on the second submission the response is not assigned to the correct state, even though the submission was successful. Instead, the response is classified under the onreadystatechange. It

[jQuery] Form Plugin

2009-05-31 Thread Robbie Clutton
Hey, I tried the form plugin, but I'm not getting the expected complete event. Below is the code snippet. It's worth noting that the data returned in JSON, not a HTML redirect. Any help would be appreciated. Using Firebug, I can see the 'dom is ready' log, but not the 'all done' log message.

[jQuery] Re: Getting the Response Headers with the jQuery Form Plugin

2009-05-28 Thread Mike Alsup
> Perfect. Thanks Mike. Am I right in thinking this isn't in the docs > @http://www.malsup.com/jquery/form/? Yeah, it's kind of buried at the bottom of this page: http://www.malsup.com/jquery/form/#api

[jQuery] Re: Getting the Response Headers with the jQuery Form Plugin

2009-05-28 Thread Alistair Holt
Perfect. Thanks Mike. Am I right in thinking this isn't in the docs @ http://www.malsup.com/jquery/form/ ? On May 28, 1:23 pm, Mike Alsup wrote: > > Does anyone know how or if this its possible to get the response > > headers using the jQuery Form Plugin? I've got a succ

[jQuery] Re: Getting the Response Headers with the jQuery Form Plugin

2009-05-28 Thread Mike Alsup
> Does anyone know how or if this its possible to get the response > headers using the jQuery Form Plugin? I've got a success function > which needs to get access to a response header I'm setting. The XHR is not passed to the 'success' callback, but it is passed to t

[jQuery] Getting the Response Headers with the jQuery Form Plugin

2009-05-28 Thread alistairholt
Does anyone know how or if this its possible to get the response headers using the jQuery Form Plugin? I've got a success function which needs to get access to a response header I'm setting. Thanks

[jQuery] Re: JQuery Form Plugin

2009-05-20 Thread Dez
Doh! Of course as soon as I post that something occurs to me that hadn't before. During a testing cycle a script tag for jquery was added to the output from the form. I guess that reinitializes everything, which makes sense. Pulled the tag from the output and everything is fine again. -Sean

[jQuery] JQuery Form Plugin

2009-05-20 Thread Dez
I've been using the Form plugin for a while a just recently (within the last week) something has gummed up the works and I'm not sure what. Here is my code. $().ready( function(){ $('#productListForm').ajaxForm({ target: '#toolList', error: function(request, textStatus, errorT

[jQuery] getting ID number when using jquery form plugin

2009-05-15 Thread basslineshift
I'm trying to use the jquery form plugin to post form data to a mysql database. At the same time, I'm loading another page in which I need to use the mysql_insert_id(). How can I get that ID number and send it to my page I'm loading. I'm trying to post it to a Javascript var

[jQuery] Re: Problems with special chars in jQuery Form plugin

2009-05-07 Thread Remko
That's what i thought ass well, i've checked my chartset of my script, database and collation. All of them are utf-8. The form page ass well. On 7 mei, 17:57, Giovanni Battista Lenoci wrote: > Remko ha scritto:> Hi, > > > I use the Form Plugin to store some user info in my database. When > >

[jQuery] Re: Problems with special chars in jQuery Form plugin

2009-05-07 Thread Giovanni Battista Lenoci
Remko ha scritto: Hi, I use the Form Plugin to store some user info in my database. When inserting the data i have some troubles with special chars. Words like Rëmkó will be converted to Rëmkó. I submit the data to a file like this $DB->query("INSERT INTO exp_members (screen_name) VALUES ('

[jQuery] Problems with special chars in jQuery Form plugin

2009-05-07 Thread Remko
Hi, I use the Form Plugin to store some user info in my database. When inserting the data i have some troubles with special chars. Words like Rëmkó will be converted to Rëmkó. I submit the data to a file like this $DB->query("INSERT INTO exp_members (screen_name) VALUES ('".$_POST ['name']."'

[jQuery] Re: jQuery form plugin file upload failure

2009-04-28 Thread Jim
Ok, after large amounts of debugging and thinking things through, my co-worker (who originally wrote the piece we're working on) noticed that we close the modal dialog in which our form resides after we make our call to submit. This makes perfect sense because the modal is no longer needed after

[jQuery] jQuery form plugin file upload failure

2009-04-27 Thread Jim
I'm using the latest version of the form plugin from http://jquery.malsup.com/form/ and am having problems with a form that has an input of type "file". I have read all the info about how to return JSON and such, how an iframe is used, etc. I've Googled around and searched this list, but m not

[jQuery] Form plugin: input elements excluded

2009-04-26 Thread dth
Hi, I'm using the form plugin to submit a form by ajax. But oddly some of my form fields aren't included in the form. As far as I can tell by debugging, the elements are found by the browsers form.elements property. I don't know why some of the form input elements aren't included but it seems t

[jQuery] jquery form plugin not working in IE8

2009-04-16 Thread adaa
I'm using http://malsup.com/jquery/form plugin but it is not working on IE8 but all other browsers. Pls help.. thanks adnan

[jQuery] Re: jQuery Form Plugin Problem: IE7 gives Object doesn't support property or method

2009-04-13 Thread MeanStudios
the button name change using jQuery. > Maybe if I remove that button and rebuild it? > > On Apr 14, 8:23 am, MeanStudios wrote: > > > Greetings, > > > I'm using jQuery 1.3.2 and jQuery Form Plugin 2.25. > > My code: > >      

[jQuery] Re: jQuery Form Plugin Problem: IE7 gives Object doesn't support property or method

2009-04-13 Thread MeanStudios
roblem is IE7 doesn't accept the button name change using jQuery. Maybe if I remove that button and rebuild it? On Apr 14, 8:23 am, MeanStudios wrote: > Greetings, > > I'm using jQuery 1.3.2 and jQuery Form Plugin 2.25. > My code: >         $('#msre_

[jQuery] jQuery Form Plugin Problem: IE7 gives Object doesn't support property or method

2009-04-13 Thread MeanStudios
Greetings, I'm using jQuery 1.3.2 and jQuery Form Plugin 2.25. My code: $('#msre_file').change(function(){ el = $(this); target = el.next(); $('#entryform').ajaxSubmit({

[jQuery] Form Plugin: how to retrieve the ajax form instance in success callback?

2009-04-01 Thread goodwill
As title, I have a setup of forms binded to ajaxForm using livequery, so I need to determine which form is submitting data to update the corresponding element, any suggestion?

[jQuery] Re: jquery form plugin problem

2009-03-29 Thread Mike Alsup
> Cool, you should mention that on the website :) > > Oh wait - this would kind of be the "failure" function mentioned > above. I actually get "parsererror" as statustext in the complete > function. Just didn't know about it :) You can use all of the normal "ajax" options with the Form plugin. su

[jQuery] Re: jquery form plugin problem

2009-03-29 Thread dth
On 29 Mar., 02:46, Mike Alsup wrote: > Well there must be more to the story than what you're telling us.  The > code you've shown above looks fine.  Perhaps there is a problem with > the json response. Actually that was excactly the problem. It would be good to get some kind of notification thou

[jQuery] Re: jquery form plugin problem

2009-03-28 Thread Mike Alsup
> I'm trying to use the form plugin from malsup.org to submit a form > with ajax, but it does not seem to work with options. > > This works: > >                             $("#loginform").ajaxSubmit(function(obj, > statusText) { >                                     alert(obj); >                

[jQuery] jquery form plugin problem

2009-03-28 Thread dth
Hi, I'm trying to use the form plugin from malsup.org to submit a form with ajax, but it does not seem to work with options. This works: $("#loginform").ajaxSubmit(function(obj, statusText) { alert(obj);

[jQuery] jquery form plugin problem

2009-03-28 Thread dth
Hi, I'm having a problem with the jquery (ajax) form plugin. It says on the page (malsup.com) to seek help here :) When I invoke ajaxSubmit() with a function it is called on success. But when I invoke ajaxSubmit() with a Options object with success: function() {..} the function is not invoked. A

[jQuery] jquery form plugin problem

2009-03-28 Thread dth
Hi, I'm trying to use the form plugin from malsup.org to submit a form with ajax, but it does not seem to work with options. This works: $("#loginform").ajaxSubmit(function(obj, statusText) { alert(obj);

[jQuery] Form Plugin + FCKEditor + UI Dialog Button

2009-03-23 Thread Joshua
I downloaded the fckeditor jquery 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 be unbound but it's not because i can do a console.log(''); and it shows me but

[jQuery] Re: jQuery Form plugin, the checkbox and the formData array

2009-03-23 Thread Mike Alsup
> The problem is that this CB function finds only checked checkboxes. That's how forms are supposed to be submitted. If you don't want this behavior then you'll have to serialize the form yourself using fieldSerialize. For example: $('#myForm').submit(function() { var data = $(':input',thi

[jQuery] jQuery Form plugin, the checkbox and the formData array

2009-03-22 Thread MarkZ
Hi I am using jQuery's 'Form Plugin' (available at http://www.malsup.com/jquery/form) to submit my form. Just before submitting form the plugin runs (using 'beforeSubmit:' option) validation callback function. This CB function uses 'formData' - an array of objects representing the name and value

  1   2   3   4   5   >