Sussed it:

$('this').val() does the trick!

On May 12, 12:05 pm, Pickledegg <[EMAIL PROTECTED]> wrote:
> Heres my code:
>
> This fires on any dropdown with the class 'ajaxdropdown': However, it
> errors telling me that event.val() is not a function. How do I refer
> to the current dropdown being changed, and get its value? I know $
> ('#idofdropdown').val() will work, but I need to use multiple
> dropdowns.
>
> $(document).ready(function(){
>    $('.ajaxdropdown').change(function(event){
>                 $('#charges').load('/new_callchargesajax.asp?
> shtech=y&c_name='+escape(event.val()));
>         });
>  });
>
> Thanks.

Reply via email to