[jQuery] Form Plugin: How to add a variable to serialization/array?

2007-03-23 Thread Arne-Kolja Bachstein
the following: var securityCheck = mysecuritycode; var formData = $(#myForm).formToArray(); $.post('postentry.php',formData,function(txt) { blah; }); How do I add the variable securityCheck to the array now? How does it have to look like? Thanks in advance, Arne -- Cheers Arne-Kolja Bachstein http

Re: [jQuery] Form Plugin: How to add a variable to serialization/array?

2007-03-23 Thread Arne-Kolja Bachstein
Thank you, Mike, it works great this way! :-) Arne http://www.arnekolja.com Mike Alsup wrote: Try this: var securityCheck = mysecuritycode; var formData = $(#myForm).formToArray(); formData.push( { name: security, value: securityCheck }); ... // replace security with whatever the correct

Re: [jQuery] jqModal r7 release!

2007-02-24 Thread Arne-Kolja Bachstein
in IE 6+7! Greetings Arne-Kolja Bachstein http://www.arnekolja.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] jqModal: closeClass and href?

2007-02-17 Thread Arne-Kolja Bachstein
Hi there, I am using jqModal now for a nice intro overlay on the frontpage of a customer and want to have a link within the jqModal overlay that opens a sub page. Of course I can simply put a link into it, but when I click this then it opens the page while the overlay still stays in the

[jQuery] jqModal: How to trigger on load?

2007-02-14 Thread Arne-Kolja Bachstein
Hi there, is there a simple way to trigger a jqModal window without a trigger or use the $(document).ready() as a trigger? I would like to open it whenever the home page is loaded (well, with some cookie thingys so it only appears for the first load)... but just putting it into

[jQuery] Effects: Choppyness, speed and IE

2007-02-08 Thread Arne-Kolja Bachstein
Hi there, does anyone know under which circumstances the effects don't work properly with IE6+7? I am trying to build some simple slideUp(slow) effects and such, but IE6+7 on two machines seem to do this too quickly if it doesnt even just use no animation at all - at least I cannot see any

Re: [jQuery] Effects: Choppyness, speed and IE

2007-02-08 Thread Arne-Kolja Bachstein
Hi Chris, I cannot make this URL public, but you should have got an email. Others may ask too, of course. Greets, Arne Chris W. Parker wrote: On Thursday, February 08, 2007 9:31 AM Arne-Kolja Bachstein said: does anyone know under which circumstances the effects don't work properly

Re: [jQuery] Effects: Choppyness, speed and IE

2007-02-08 Thread Arne-Kolja Bachstein
Hmm... yes, but atm the most important thing is: Either IE6 nor IE7 show my simple slideUp/Down effects *lol* How can this happen? Everything works basically, it just ignores that it should not only toggle the visibility but animate it. VERY strange! Greets, Arne Michael E. Carluen wrote: I

Re: [jQuery] Effects: Choppyness, speed and IE

2007-02-08 Thread Arne-Kolja Bachstein
the element that got manipulated. There is a small resize animation, maybe 20px in height, which made me wonder. Even with IE Developer Toolbar there is no element at this point. _Very_ strange! Greets, Arne Arne-Kolja Bachstein wrote: Hmm... yes, but atm the most important thing is: Either IE6

[jQuery] Securing AJAX/PHP against direct calls?

2007-02-05 Thread Arne-Kolja Bachstein
Hi there, do you have any ideas how I could secure my php files against direct calls of the functions an ajax script calls? For example if I let my AJAX script send a request to foo.php and foo.php returns a line of code the AJAX script usually writes onto my site, how can I avoid that these

Re: [jQuery] Securing AJAX/PHP against direct calls?

2007-02-05 Thread Arne-Kolja Bachstein
halfer wrote: Checking the referrer in the HTTP header is about as much as you can do, although of course this can be faked by individual users. This approach will prevent other sites using your AJAX service however, as they would be unlikely to be able to fake the referrer provided by their

[jQuery] Multiple Choice forms

2007-01-30 Thread Arne-Kolja Bachstein
with it, especially with managing answers, number of steps and so on, maybe a framework, plugin? Greetings, Arne -- Cheers Arne-Kolja Bachstein http://www.arnekolja.de E-Mail:[EMAIL PROTECTED] Mobil:[01 79] 6 70 25 82 ___ jQuery mailing list

[jQuery] Submit form and load URL (foreground)

2007-01-04 Thread Arne-Kolja Bachstein
Hi there, is there any easy possibility to send a GET request like when sending it via normal html? I am trying to simply load an URL with some GET parameters, but I cannot load it in the foreground, but only with getting a result set which represents the whole HTML code. I already tried via

Re: [jQuery] Submit form and load URL (foreground)

2007-01-04 Thread Arne-Kolja Bachstein
Mike Alsup schrieb: is there any easy possibility to send a GET request like when sending it via normal html? I am trying to simply load an URL with some GET parameters, but I cannot load it in the foreground, but only with getting a result set which represents the whole HTML code.

Re: [jQuery] Submit form and load URL (foreground)

2007-01-04 Thread Arne-Kolja Bachstein
Mike Alsup schrieb: No, you didn't really. But I have to use some JS to do this, because the html form won't work that way. I am using a CMS that builds a form around all the content which prevents a form from being usable in the usual way, because nested forms don't work. So I have to

[jQuery] Callback with .post() fails too often

2006-10-16 Thread Arne-Kolja Bachstein
Hi there first a great hello to all the people discussing here, I am the new one :-) New at both this list and jQuery itself. So here is my first question, I hope you can help me with this. I am trying to create a rudimentary contact form and am using this code at the moment:

Re: [jQuery] Callback with .post() fails too often

2006-10-16 Thread Arne-Kolja Bachstein
Klaus Hartl schrieb: Welcome Arne! I think you have to move the return false out of the callback function to switch off the forms default action. The way it is now both form submission and $.post would interfere. $('#contactForm').submit(function(){

Re: [jQuery] Callback with .post() fails too often

2006-10-16 Thread Arne-Kolja Bachstein
Blair McKenzie schrieb: As far as I'm aware, $.post does not automatically send input values from the form. To add key-value pairs use the second parameter: $.post('contact.send.php', { key1:value1, key2:value2, ... , keyn:valuen }, function(txt) {} ); You can also look at the form plugin