Thanks for the heads up! I went ahead and applied your patch and checked the other bug. The other one was resolved as fixed so, I will see what happens when I finish upgrading to 1.2
On Apr 3, 11:14 am, "bernardo" <[EMAIL PROTECTED]> wrote: > Glad to help! > > Be careful if you plan to upgrade to cakephp 1.2 because ajax->observeField > changed and its behavior is now different if frequency > > is not set or is less than 1 second. See:https://trac.cakephp.org/ticket/1194 > > Also I think your code uncovered a bug in 1.2 when frequency is 0. I > reported it here: https://trac.cakephp.org/ticket/2339 > > On Apr 3, 12:37 pm, "Christopher E. Franklin, Sr." > > <[EMAIL PROTECTED]> wrote: > > Bah, found someone else's code that states if you put frequency to > > 0.xx, it works in IE and it updates like a keypress. > > > On Apr 3, 8:21 am, "Christopher E. Franklin, Sr." > > > <[EMAIL PROTECTED]> wrote: > > > Awesome, that worked. Thanks a ton, bernardo! I wanted it to update > > > on each keypress so, I think I will have it check if it is FF or IE > > > and set the value based on what browser the user is viewing the page > > > in. Unless anyone else knows of a way to make IE update faster. > > > > On Apr 2, 7:19 pm, "bernardo" <[EMAIL PROTECTED]> wrote: > > > > > Have you tried with frequency > 0 > > > > Just a guess... > > > > > On Apr 2, 7:59 pm, "Christopher E. Franklin, Sr." > > > > > <[EMAIL PROTECTED]> wrote: > > > > > Well, after searching, I have found a script that you can bookmark to > > > > > debug XHtmlRequests for IE(7). It shows that there are no requests > > > > > going through. Wierd. > > > > > Further more, I have downgraded to prototype 1.5 (the one that's > > > > > supposed to work for everything) and nothing. I have gone to other > > > > > sites that update ajax fine so there has to be an error in the code on > > > > > my side somewhere. Or possibly in Cake's code. Didn't find anything > > > > > on Trac yet either. > > > > > > Here is the script in case you're wondering. > > > > > >http://blog.monstuff.com/archives/000291.html > > > > > > On Apr 2, 2:45 pm, "Christopher E. Franklin, Sr." > > > > > > <[EMAIL PROTECTED]> wrote: > > > > > > Hello. > > > > > > > I am having a small problem where the divs that need to be updated > > > > > > via > > > > > > ajax are not being updated in IE7. It works fine in FF. > > > > > > > I have searched this group and have found only one other question > > > > > > like > > > > > > this but, no answers. > > > > > > > The wierd thing is, when I type something in a field, go to another > > > > > > page and then hit my browser's back button, you can see what is > > > > > > supposed to be in the div. It's like it is only updating on a page > > > > > > load. > > > > > > > Anyways, I am using cake 1.1.14.4306, PHP5, Prototype 1.15 and > > > > > > Script.aculo.us 1.7.1 > > > > > > > Here is the code I am using. Remember, this works fine in FireFox > > > > > > > // /user/view/register.thtml > > > > > > > <!--snip--> > > > > > > echo "<div class=\"required\"><span > > > > > > class=\"userRegisterLabel\"><label > > > > > > for=\"UserUsername\">User Name:</label></span><span class= > > > > > > \"userRegisterField\">" . $html->input('User/username', array ( > > > > > > 'size' => 30 > > > > > > ))."</span><div id=\"userRegisterUsername\"></div></div>"; > > > > > > echo ""; > > > > > > echo $html->tagErrorMsg('User/username', 'Username can only contain > > > > > > Letters, Numbers, Underscores(_) and/or Dashes(-). The username > > > > > > must > > > > > > also between 3-25 characters long.'); > > > > > > echo $ajax->observeField('UserUsername', array ( > > > > > > 'url' => 'check_registration_form/username/', > > > > > > 'update' => 'userRegisterUsername', > > > > > > 'frequency' => 0, > > > > > > 'loading' => > > > > > > "document.getElementById('userRegisterUsername').style.display = > > > > > > 'block'", > > > > > > 'loaded' => > > > > > > "document.getElementById('userRegisterUsername').style.display = > > > > > > 'block'" > > > > > > )); > > > > > > <!--snip--> > > > > > > > If you would like to see more code, just post here please. > > > > > > > I will keep searching in the mean-time. If I find an answer I will > > > > > > post here again for anyone who has this problem in the future. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---