On Tue, Jul 7, 2009 at 5:10 AM, shadab<[email protected]> wrote:
>
> Hello All,
>
> I am using  Validanguge .js for  validation. It’s working nice but
> when I am population Ajax drop down , it’s not working well.

Do you mean "valid language"? Or "validate"?

> I am using Country, State, City dropdown list.  State is loaded based
> on Country and  City is loaded baseon on State using AJAX. It’s
> working fine and giving error message till I have not select dropdown.
> Once I select Ajax drop down say country, than for state drop down
> valid language is not working well, same thing for city and state.
> Any help? Problem might be Valid lanauge is adding dynamic div for
> error but ajax time its is not creating.

Probably what is happening is that, when the select list is populated
with AJAX, you're not creating an event handler for it. You must
define event handlers (onChange, onClick, onBlur, etc.) when the page
first loads or when the select list is populated with AJAX.

If you're using jquery, have a look here:
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to