hi, i'm new to both symfony and ajax that's why i have this question. i use ajax to update one div inside page, works fine. i follow book's example to do that. question: how do i get array of data from external url not to show but to work with?
thanks sample. page1.php (synfony) <?php echo link_to_remote('click here', array( 'url' => url_for('http://www.external.link.com/index.php', true), 'with' => "'cep=' + $('cep').value", 'update' => 'cep_info', 'loading' => visual_effect('appear', 'indicator'). visual_effect('highlight', 'indicator', array('duration' => 1.5)), 'complete' => visual_effect('fade', 'indicator'), 'success' => visual_effect('appear', 'cep_info'). visual_effect('highlight', 'cep_info', array('duration' => 1.5)), 'script' => true, ) ) ?> <span id="indicator" style="display: none">waiting...</span> <div id="cep_info" style="display: none"></div> index.php (external, not symfony) <?php $var = array('test' => '1'); return $var; ?> -- http://zero-d.com.br/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---