[jQuery] Re: [forms] [ajax] Form submits, success message displayed but no data seems to be passed to php file

2009-09-16 Thread HairyJim
hmmm Im getting nowhere with this :/ So following the code on the page you suggested and the notes made about .ajaxSubmit I transpose it like thus but nothing happens, it does not even call the referenced thanks.php. jQuery(function(){ var options = { type: "POST

[jQuery] Re: [forms] [ajax] Form submits, success message displayed but no data seems to be passed to php file

2009-09-16 Thread Jörn Zaefferer
Here is an example: http://jquery.bassistance.de/validate/demo/ajaxSubmit-intergration-demo.html Jörn On Wed, Sep 16, 2009 at 12:39 PM, HairyJim wrote: > > Sorry, I have no idea where to use the .ajaxSubmit() option in the > code. What do I need to change to pass the data over to the processing

[jQuery] Re: [forms] [ajax] Form submits, success message displayed but no data seems to be passed to php file

2009-09-16 Thread HairyJim
Sorry, I have no idea where to use the .ajaxSubmit() option in the code. What do I need to change to pass the data over to the processing file? Thanks James On Sep 16, 10:49 am, Jörn Zaefferer wrote: > You don't specify any data to submit in your ajax call. Use the data > option, or better yet

[jQuery] Re: [forms] [ajax] Form submits, success message displayed but no data seems to be passed to php file

2009-09-16 Thread Jörn Zaefferer
You don't specify any data to submit in your ajax call. Use the data option, or better yet, the form's plugin ajaxSubmit method. It will handle the form serialization for you. Jörn On Wed, Sep 16, 2009 at 11:42 AM, HairyJim wrote: > > Hi all, > > I have this Jquery code, below, which I was hpoin

[jQuery] Re: Forms and Dialog UI

2009-08-12 Thread Richard D. Worth
Here are a couple things you might try: 1. make sure your is completely contained within your #dialog element 2. call .ajaxForm after the dialog is opened, like so: $("#dialog").dialog({ bgiframe: true, autoOpen: false, width: 620, modal: true, open: function(event, ui) { $('#myFor

[jQuery] Re: forms :: fire javascript on enter (without reloading the whole page)

2009-01-30 Thread dirk w
hey bohdan, thanks, works fine! dirk On 30 Jan., 11:51, Bohdan Ganicky wrote: > Hi, > just stick with the submit event. It's fired either when user presses > Enter or clicks the submit button: > > $("#searchForm").submit(function() { >         var url = 'http://gdata.youtube.com/feeds/api/video

[jQuery] Re: forms :: fire javascript on enter (without reloading the whole page)

2009-01-30 Thread Bohdan Ganicky
Hi, just stick with the submit event. It's fired either when user presses Enter or clicks the submit button: $("#searchForm").submit(function() { var url = 'http://gdata.youtube.com/feeds/api/videos?q=' + $ ('#searchText').val() + '&alt=json-in-script&callback=showMyVideos&max- results=7&

[jQuery] Re: forms validation problem

2009-01-16 Thread Jörn Zaefferer
Please take a look at this section: http://docs.jquery.com/Discussion#Support_Questions What you provided so far isn't enough to help you debug the issue.. Jörn On Fri, Jan 16, 2009 at 9:27 AM, vierda wrote: > > dear all, > I'm new with jquery and I have problem with my code for forms > valida

[jQuery] Re: forms

2008-09-22 Thread david
Hi, The easy option is if you could define what the maximum number of addresses you can enter. For this you would not need javascript. CGI (for example perl) would be sufficient. You would create a table of input elements where each row represents an address. If not it is a little complicated. You

[jQuery] Re: Forms and syntax: Radio buttons and tutorials?

2008-07-21 Thread Micky Hulse
Ok, I need to stop floundering around! Hehe... This is what I wanted: if($('#option02').is(':checked')) I think I need to read the docs... jQuery site is down for me though... Anyway, I am still looking for links to jQuery form tutorials! :) Have a great day all. Micky On Jul 20, 11:57 am, M

[jQuery] Re: Forms and syntax: Radio buttons and tutorials?

2008-07-20 Thread Yehuda Katz
This would work too: if($("#option02:checked").length) -- Yehuda On Sun, Jul 20, 2008 at 3:51 PM, Micky Hulse <[EMAIL PROTECTED]> wrote: > > Ok, I need to stop floundering around! > > Hehe... This is what I wanted: > > if($('#option02').is(':checked')) > > I think I need to read the docs... jQu

[jQuery] Re: Forms: Convert spaces to +'s, and how to GET only certain form elements?

2008-07-20 Thread Micky Hulse
Thank you all Much much appreciated!!! Have a great day! Cheers, Micky On Jul 20, 2:52 am, Mickster <[EMAIL PROTECTED]> wrote: > I think you can use .replace(/%20/g, "+") after > encodeURIComponent(String) to replace the %20 with a +. > Like: > var encodedString = encodeURIComponent("dog cat

[jQuery] Re: Forms: Convert spaces to +'s, and how to GET only certain form elements?

2008-07-20 Thread Micky Hulse
This worked perfectly: HTML: ... JS: $(function() { ... ... $('form#fmSearch').submit(function() { var encodedString = encodeURIComponent($('#fmSearchKeywords').val()); encodedString.replace(/%20/g, "+"); }); ... ... }); Thanks for the specific coding Mickster! Ya'll rock!! :) On Jul 20, 2:

[jQuery] Re: Forms and syntax: Radio buttons and tutorials?

2008-07-20 Thread Micky Hulse
I guess this would be even better: $("#option01:checked") Not sure why I did not think of that earlier. :) On Jul 20, 11:53 am, Micky Hulse <[EMAIL PROTECTED]> wrote: > Hi, > > I have a form (#fmSearch) with three radio buttons: > > ... > ... > ... > > When testing for a specific radio butto

[jQuery] Re: Forms: Convert spaces to +'s, and how to GET only certain form elements?

2008-07-20 Thread spicyj
> encodedString.replace(/%20/g, "+"); Or simply decodeURIComponent("dog+cat%20horse+whale").

[jQuery] Re: Forms: Convert spaces to +'s, and how to GET only certain form elements?

2008-07-20 Thread Mickster
I think you can use .replace(/%20/g, "+") after encodeURIComponent(String) to replace the %20 with a +. Like: var encodedString = encodeURIComponent("dog cat horse whale"); encodedString.replace(/%20/g, "+"); Good Luck! //Mickster On Jul 20, 3:24 am, spicyj <[EMAIL PROTECTED]> wrote: > encodeURI

[jQuery] Re: Forms: Convert spaces to +'s, and how to GET only certain form elements?

2008-07-19 Thread spicyj
encodeURIComponent("dog cat horse whale")

[jQuery] Re: Forms: Convert spaces to +'s, and how to GET only certain form elements?

2008-07-19 Thread intrader
Disable the form elements you don't want submitted. On Jul 19, 3:07 pm, Micky Hulse <[EMAIL PROTECTED]> wrote: > Hi, > > I am working on a search form where I need to convert the spaces of > the submitted data (using GET form method) to +... > > For example: > > Search term: dog cat horse wha

[jQuery] Re: Forms: Email before submit

2008-04-25 Thread Scott González
Can you just bind a function to the submit event which makes an ajax call to your server with all the data you need? On Apr 24, 7:41 am, Carlos Escuriola <[EMAIL PROTECTED]> wrote: > Hello everybody. > > I have a form which data has to be sent to a CRM (salesforce), so in > the form action I have

[jQuery] Re: Forms

2008-04-23 Thread Nathaniel Whiteinge
kippi wrote: > I have built a form and now I would like to add some ajax to it. Is it > possible with jquery so load information into the form and also take > the information from the form and update the database (PHP script for > mysql part) If you can already submit the form (without Ajax) and

[jQuery] Re: Forms AjaxSubmit: no error handling?

2008-01-15 Thread [EMAIL PROTECTED]
Hi all, I struggled with this one all day. Could it be that error is broken when you try to do a file upload in FireFox? My HTML (fragment): Batch type: 1 Bestand: My script: $(document).ready(function(){ var options = {

[jQuery] Re: Forms AjaxSubmit: no error handling?

2008-01-15 Thread [EMAIL PROTECTED]
To add to my previous post: in FF I always get the 'success' alert. Groeten, Friso

[jQuery] Re: Forms AjaxSubmit: no error handling?

2007-12-03 Thread Josh Nathanson
27 PM Subject: [jQuery] Re: Forms AjaxSubmit: no error handling? You can supply an error handler to ajaxSubmit. You can use any of the options supported by $.ajax since eventually the call is delegated to that method. $('#myForm').ajaxSubmit({ success: function()

[jQuery] Re: Forms AjaxSubmit: no error handling?

2007-12-03 Thread Josh Nathanson
2007 3:27 PM Subject: [jQuery] Re: Forms AjaxSubmit: no error handling? You can supply an error handler to ajaxSubmit. You can use any of the options supported by $.ajax since eventually the call is delegated to that method. $('#myForm').ajaxSubmit({ success: functi

[jQuery] Re: Forms AjaxSubmit: no error handling?

2007-12-03 Thread Josh Nathanson
ow that an error occurred on the server. -- Josh - Original Message - From: "Rick Faircloth" <[EMAIL PROTECTED]> To: Sent: Monday, December 03, 2007 3:49 PM Subject: [jQuery] Re: Forms AjaxSubmit: no error handling? Hi, Josh. I've only used the validation p

[jQuery] Re: Forms AjaxSubmit: no error handling?

2007-12-03 Thread Rick Faircloth
Hi, Josh. I've only used the validation plug-in a couple of times so far, but I use the jQuery validation client side, and then once the validation passes the client side, I run server side validation again, as a separate function. I program in ColdFusion, so I can use my skills there for valida

[jQuery] Re: Forms AjaxSubmit: no error handling?

2007-12-03 Thread Mike Alsup
You can supply an error handler to ajaxSubmit. You can use any of the options supported by $.ajax since eventually the call is delegated to that method. $('#myForm').ajaxSubmit({ success: function() { alert('hooray!'); }, error: function() { alert('boo'); } }); Mike On Dec 3, 2007 4:47

[jQuery] Re: Forms with asp.net

2007-10-04 Thread Sharique
Thanks man. I have play it with more. I want to replace update panel with jquery forms. On Oct 5, 12:09 am, seedy <[EMAIL PROTECTED]> wrote: > Ok so I haven't tested this , but I notice a few things right away. > Your tags point to different paths, jquery seems to be in /js and > the forms plugi

[jQuery] Re: Forms with asp.net

2007-10-04 Thread seedy
Ok so I haven't tested this , but I notice a few things right away. Your tags point to different paths, jquery seems to be in /js and the forms plugin is in /. This is ok if those are the paths to those files, I just mentioned it as I was not sure if this was intentional or not. However, the r

[jQuery] Re: Forms with asp.net

2007-10-04 Thread Sharique
I have one textbox, one button, one label- all asp.net controls. What I trying to do : when user click button text of text box is displayed on label. Here is the code - <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Forms1.aspx.cs" Inherits="Forms" %> http://www.w3.org

[jQuery] Re: Forms with asp.net

2007-10-01 Thread seedy
asp.net controls should not interfere with the forms plugin. Do you have a demo page we could take a look at? Right not Im not even 100% sure what your problem you are having. Sharique Farooqui wrote: > > > Right now I'm not using asp.net Ajax. > I'm using some asp.net controls on it. > Is t

[jQuery] Re: Forms with asp.net

2007-10-01 Thread Sharique
Right now I'm not using asp.net Ajax. I'm using some asp.net controls on it. Is this causing problem? On Sep 29, 5:15 pm, seedy <[EMAIL PROTECTED]> wrote: > I've never used the update panel, so im not sure of all its functionality. > The forms plugin should let you submit a form through an ajax r

[jQuery] Re: Forms with asp.net

2007-09-29 Thread seedy
I've never used the update panel, so im not sure of all its functionality. The forms plugin should let you submit a form through an ajax request. Are you using asp.net ajax and jQuery at the same time? I think there could be some problems doing that as they both make use of the $ Sharique Far

[jQuery] Re: Forms with asp.net

2007-09-28 Thread Sharique
yes I mean qury form plugin. I'm trying but not getting sucess. I think it can be used as replacement of asp.net update panel, what u think? On Sep 26, 7:50 pm, Danjojo <[EMAIL PROTECTED]> wrote: > What do you mean by jQuery forms? > > On Sep 26, 10:49 am, Sharique <[EMAIL PROTECTED]> wrote: > >

[jQuery] Re: Forms with asp.net

2007-09-26 Thread seedy
If you mean the forms plugin, then yes I am using it in a .Net app Sharique Farooqui wrote: > > > Hi, > Did anybody has tried jquery forms with asp.net? > -- > Sharique > > > -- View this message in context: http://www.nabble.com/Forms-with-asp.net-tf4522863s15494.html#a12907269 Sent fr

[jQuery] Re: Forms with asp.net

2007-09-26 Thread Danjojo
What do you mean by jQuery forms? On Sep 26, 10:49 am, Sharique <[EMAIL PROTECTED]> wrote: > Hi, > Did anybody has tried jquery forms with asp.net? > -- > Sharique

[jQuery] Re: Forms, Tables and jQuery

2007-05-02 Thread BKDesign Solutions
12:31 PM Subject: [jQuery] Re: Forms, Tables and jQuery Funny thing about placing the form tag between table markup tags. IE places strange additional spacing after an opening form tag. Placing the the tag between the table tags fixes the IE display issue. We had to do it here: http://www.llnl

[jQuery] Re: Forms, Tables and jQuery

2007-05-02 Thread Shelane
Funny thing about placing the form tag between table markup tags. IE places strange additional spacing after an opening form tag. Placing the the tag between the table tags fixes the IE display issue. We had to do it here: http://www.llnl.gov/ (The Search LLNL and Find People form area in the h

[jQuery] Re: Forms, Tables and jQuery

2007-05-02 Thread Christopher Jordan
I agree with Mike here. In fact, now that I code with jQuery, I've started to pay much more attention to my markup to see that it's correct -- or at least that it works with jQuery. ;o) Chris Mike Alsup wrote: that jQuery should iterate over form.elements if special form selectors are us

[jQuery] Re: Forms, Tables and jQuery

2007-05-02 Thread Mike Alsup
that jQuery should iterate over form.elements if special form selectors are used because a lot of legacy code uses incorrectly placed form tags. When jQuery is added to those legacy pages the developer should also correct the form tags (and any other bogus markup). There is no point trying to

[jQuery] Re: Forms and Multiple File Uploads

2007-04-22 Thread Mike Alsup
Hi Cheese, Do you have a sample page for this problem? Mik On 4/21/07, Cheesegrits <[EMAIL PROTECTED]> wrote: Has anyone gotten the Multiple File Uploads plugin to work with the Forms plugin? I can happily upload multiple files via Ajax with the Forms plugin, but I really want to add the Mu