In Firefox 3.6.16
I have an Event.observe('ajzip', 'keyup', cities); and the first line of
which tests to see if I have 5 digits entered in the zip code field and if
so it makes an ajax call... works great in IE.
When I press and release a key, my function "cities" gets called, it tests
the length
Does your field have the ID attribute set to 'zip'? If it's working in
IE, that's a strong bet that it doesn't, but that it does have the
name set to 'zip'. Element.getValue() and $F() need a valid (properly-
formed and unique on the page) ID for their magic to happen. If you
can't add an ID
Hello,
I've found (and fixed) a memory leak in Prototype 1.7. Some details
are here:
http://kirblog.idetalk.com/2011/06/prototype-17-memory-leak.html
Would be glad if you find this useful.
Regards,
KIR
--
You received this message because you are subscribed to the Google Groups
"Pro
Walter you made me doubt myself... LOL I've been integrating this new code
with the old form and the id's are different in the old form but I had made
those changes.
Event.observe('ajzip', 'keyup', cities);
5 Digit Zip:
On Mon, Jun 13, 2011 at 11:12 AM, Walter Davis wrote:
> Does your field ha
Note that your id on the input is different than the name. I would make
them the same and then reference by that id.
On Mon, Jun 13, 2011 at 10:35 AM, Phil Petree wrote:
> Walter you made me doubt myself... LOL I've been integrating this new code
> with the old form and the id's are different i
Thanks shane... with shame and embarassment I ended up finding it... there
was a spot in the city_county.js that still referenced the element using the
id used while trying to figure out the json/select stuff. Changed that to
the ajzip id and it worked fine! Was just a shock to see it working in
Can I also assume that you have either wrapped your listener function
in a dom:loaded listener, or have placed it inside a script block
BELOW the ajzip element?
That's another reason why it might not work in some cases, although I
would be surprised if it worked in any browser if the listen
Yep... all wrapped up in a nice window.onload = function () {}
Thanks for the heads up on that... found that one early on when I did the
ajax form generator. :-)
On Mon, Jun 13, 2011 at 11:48 AM, Walter Davis wrote:
> Can I also assume that you have either wrapped your listener function in a
>
How do you find memory leak in Chrome?
I acnt find any tool except memory graph!
On 13 июн, 18:02, KIR wrote:
> Hello,
>
> I've found (and fixed) a memory leak in Prototype 1.7. Some details
> are here:
> http://kirblog.idetalk.com/2011/06/prototype-17-memory-leak.html
>
> Would be glad if y