How to evaluate data return boolean from jQuery $.get
<pre><code>$('#my_theme').click
(
    function() 
    {
    $('#my_theme option').each(function(){
    //how do I test for this $.get to return true?
        if ($.get('&lt;?php echo get_bloginfo('template_directory') ?&gt;/getStyle.php', {template: $(this).val()})==true)
            {
                $(this).attr("disabled","disabled");
            }
    });

    }
);


&lt;?php
//getStyle.php

$myTemplate = $_REQUEST['template'];

$file = "styles/".$myTemplate."/style.css";
    if (file_exists($file))
    {
    return true;
    }
    else
    {
    return false;
    }
?&gt;
</code></pre>
