hi,

i am tring to send data on my ajax call. what i am doing is :


        echo 
select_country_tag('country',$code,array('include_custom'=>__('Select 
Country'), 'onchange'=>"if(this.value)".jq_remote_function(array(
        'update'   =>  'cityList',
        'url'      =>  'module/cityfinder',
        'with'     => " 'country=' +this.value"
))));

It must be true. But it is not accepting "this.value"
on openfire i got error: result is :


onchange="if(this.value)jQuery.ajax({type:'POST',dataType:'html',data:' 
'country=' +this.value',success:function(data, 
textStatus){jQuery('#cityList').html(data);},url:'/frontend_dev.php/module/cityfinder'})"
it addes extra '. i have also tried on url like :

 'url'      =>  'module/cityfinder?country =' + this.value,

i got error. i also tried :

 'url'      =>  "'module/cityfinder?country=' + this.value",

no success. is problem with jquery or do i missing somethins ?

Thanks in advance.




      ___________________________________________________________________
Yahoo! Türkiye açıldı!  http://yahoo.com.tr
İnternet üzerindeki en iyi içeriği Yahoo! Türkiye sizlere sunuyor!

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to