Hello,
I'm trying to draw a pie chart after a form submit event
for some reason the page becomes bllank (after google.load)
and nothing is working. i tried to debug several times without success

can anyone please help me?
Thanks!
Roy

the code:
$(function(){
    $('#searchForm').submit(function(event){
        event.preventDefault();
        $('#MotifSearch').animate({
            left: '25%',
            width: '50%',
            height: '75%'
        }, 1500);
        $('#motifGraphTitle').animate({
            left: '25%'
        }, 1500);
        var formData = $(this).serialize();
        var empty = '';
        var jqxhr = $.post('formHandle.php', formData, loadGraph);
        
    
        jqxhr.success(function(){ 
            $.getJSON('loadTaxo.php', empty, loadTaxo).complete(function() 
{ 
                google.load('visualization', '1.0', {
                    'packages':['corechart']
                    });
                google.setOnLoadCallback(drawChart);
                
            });
            
        });
        
        $('#taxoLabel').show(500);
    
        
      
        // Set a callback to run when the Google Visualization API is 
loaded.
        
        return false;
    });//end submit
    
});*/

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/MZWKRmqFDtQJ.
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/google-visualization-api?hl=en.

Reply via email to