a bit doubt about $ajax->observeField(), when i keep
options['frequency'] =1 does it mean it makes ajax call every second
when the particular field is focussed or the ajax call is made only
when the value in the field is changed...
On Jul 16, 10:31 am, RJ <[EMAIL PROTECTED]> wrote:
> yes onblur w
yes onblur wld be a good option..but m not able to find how to do
that in cakephp.
could any one help in this as to how to make an ajax call on any
event(onBlur.onclick,etc)
-RJ
On Jul 15, 10:37 pm, Joel Perras <[EMAIL PROTECTED]> wrote:
> Problem with using onkeydown for this is that the #
Problem with using onkeydown for this is that the # of DB requests is
directly proportional to the length of the name being input; setting a
freq. of 1 sec seems like a good solution. However, I can usually
input my name in less than a second. Try performing the action on an
onblur instead of on
hey got it when i put frequency of 1 sec , it gives the desired
result.
But as Mr Decot mentioned, it could be a lot on server...
Thanks all
On Jul 15, 6:15 pm, "Siegfried Hirsch" <[EMAIL PROTECTED]>
wrote:
> I use frequecy for 1 seconds updates with the ajax call. Thats the way to
> handle
I use frequecy for 1 seconds updates with the ajax call. Thats the way to handle
it without putting a burden on the server with every key stroke ;)
On Tue, Jul 15, 2008 at 3:11 PM, RJ <[EMAIL PROTECTED]> wrote:
>
> it doesn't work i guess ... i want to make ajax calls on 'onkeyup'
> event
> how t
it doesn't work i guess ... i want to make ajax calls on 'onkeyup'
event
how to use $ajax->observeField for the same??
On Jul 15, 6:04 pm, "Siegfried Hirsch" <[EMAIL PROTECTED]>
wrote:
> what about trying with the $ajax->observeField helper.
>
> On Tue, Jul 15, 2008 at 2:45 PM, RJ <[EMAIL PROTECT
what about trying with the $ajax->observeField helper.
On Tue, Jul 15, 2008 at 2:45 PM, RJ <[EMAIL PROTECTED]> wrote:
>
> Thanks for the reply.. The client side requirement is achieved...
> but i want to make a check whether the user-name is already registered
> on the fly(i.e ajax call on o
Thanks for the reply.. The client side requirement is achieved...
but i want to make a check whether the user-name is already registered
on the fly(i.e ajax call on onkey event) .how to do that ?
On Jul 15, 5:28 pm, Kyle Decot <[EMAIL PROTECTED]> wrote:
> That's going to get to be a lot of r
That's going to get to be a lot of requests I would think. I suggest
either checking on submit, or having a "Check Availability" button.
Here is the code to put the value of one field into another. That
should get you started.
echo $form-
>input("username",array("onkeydown"=>"document.getElementB
I want to implement the following scenario:
there are 4 text-boxes ,when user enters his name in the first input
box, i want that data(i.e user name) to be auto-filled in the 4th
input box after validating it with database(to check uniqueness) .
For this i'll need to make an ajax request on 'on
10 matches
Mail list logo