Hi,

I have a range selector where I need to save the range values as session 
variables. I am trying to post the values so that I can use it in a php 
page but it fails.

Here is the code-

google.visualization.events.addListener(slider1, 'ready', selectHandler);
google.visualization.events.addListener(slider1, 'statechange', 
selectHandler);


function selectHandler() {
                              //alert('A table row was selected');
                              var state = slider1.getState();
                                //alert("Low val : "+state.lowValue);
                               
                               
                                lowVal = state.lowValue;
                                highVal = state.highValue;
                               alert("Low val : "+lowVal + " High 
:"+highVal);
                               
                                $.post("getvcfvisualizeData.php", 
{lowSelectRange: lowVal, highSelectRange: highVal},
                                function(data) {
                                    alert("data saved");
                                    $('#cytoband_SelDiv').html(data);
                                });
                                
                               
                               
                                              
                            }




Thanks
Ragini

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to