[Proto-Scripty] Using Ajax.Updater posts the contain form

2009-08-13 Thread dpGoose
Hi, I am using Axaj.Updater to retrieve a message from the server and it does do this but it also posts the form the Updater script and associated controls are contained in. I have followed the examples on the prototype site with modifications for my web server. Why is this happening? Here is

[Proto-Scripty] Re: Using Ajax.Updater posts the contain form

2009-08-13 Thread T.J. Crowder
Hi, The code you included in your message isn't posting any forms; it must be something else on the page. Can you produce a minimalist, complete, stand-alone example of the behavior? (There's a template here[1] if you like.) See Step 3 in this troubleshooting tip[2] on the FAQ for details and

[Proto-Scripty] Re: Using Ajax.Updater posts the contain form

2009-08-13 Thread Alex McAuley
Can you explain it a bit better? I dont quite understand what is going on Alex Mcauley http://www.thevacancymarket.com - Original Message - From: dpGoose cpzare...@googlemail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Thursday, August 13, 2009

[Proto-Scripty] Re: Responders

2009-08-13 Thread Richard Quadling
2009/8/12 Alex McAuley webmas...@thecarmarketplace.com: Thanks TJ, I'll look into it and see if i can hack something together Alex Mcauley http://www.thevacancymarket.com - Original Message - From: T.J. Crowder t...@crowdersoftware.com To: Prototype script.aculo.us

[Proto-Scripty] Re: Using Ajax.Updater posts the contain form

2009-08-13 Thread Daniel Rubin
dpGoose wrote: Hi, I am using Axaj.Updater to retrieve a message from the server and it does do this but it also posts the form the Updater script and associated controls are contained in. I have followed the examples on the prototype site with modifications for my web server. Why is this

[Proto-Scripty] Re: Using Ajax.Updater posts the contain form

2009-08-13 Thread T.J. Crowder
I assume the snippet you posted is contained in a form, right? Button-tags are type=submit by default... Gah! I read right past that. Nice catch. -- T.J. On Aug 13, 1:21 pm, Daniel Rubin dru...@dimedis.de wrote: dpGoose wrote: Hi, I am using Axaj.Updater to retrieve a message from

[Proto-Scripty] Observing a checkbox

2009-08-13 Thread Jeztah
What is the correct Cross browser way to observe a checkbox being checked or not I am using $('hidenonlive').observe('change',function() { if($('hidenonlive').checked!==true) { alert('Showing');

[Proto-Scripty] Re: Observing a checkbox

2009-08-13 Thread Douglas
checked === true is wrong you should check for ('checked' == $(input).checked || true == $(input).checked) ps: untested On Thu, Aug 13, 2009 at 10:53 AM, Jeztahwebmas...@thecarmarketplace.com wrote: What is the correct Cross browser way to observe a checkbox being checked or not I am

[Proto-Scripty] Re: Observing a checkbox

2009-08-13 Thread Alex McAuley
Thanks Douglas My way works fine... That is not the issue... the issue is with change or click Thanks Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Douglas douglas.gont...@gmail.com To: prototype-scriptaculous@googlegroups.com Sent: Thursday, August 13, 2009

[Proto-Scripty] Re: Casting a json object into an instance of a class

2009-08-13 Thread Matt Foster
You could just have the server return code that instantiates the object to begin with. You aren't limited to JSON its just convienent because the structure is simple and there are plenty of processors that understand it. But you can evaluate any JS code just as is. --

[Proto-Scripty] Re: image flickering with Effect.Morph

2009-08-13 Thread Matt Foster
I am trying to code an OS X-style menu bar with prototype Are you talking about the dock? http://positionabsolute.net/blog/2007/08/prototype-fisheye.php On Jul 13, 4:05 pm, Mario Colombo mario.colo...@yetnet.ch wrote: Hi everybody, I am trying to code an OS X-style menu bar with prototype