Hi Guys,

I have a problem with JQUERY and AJAX. I would suggest you go to this
page and click on the next link.
http://test.zahidchaudhry.com/

Notice that the progress bars disappear after AJAX is invoked...

This is the AJAX function:
function ajaxFunction(ajax){
        try{
                // Opera 8.0+, Firefox, Safari
                ajaxRequest = new XMLHttpRequest();
        } catch (e){
                // Internet Explorer Browsers
                try{
                        ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP");
                } catch (e) {
                try{
                        ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP");
                } catch (e){
                        // Something went wrong
                        alert("Your browser broke!");
                                return false;
                        }
                }
        }
        // Create a function that will receive data sent from the server
        ajaxRequest.onreadystatechange = function(){
                if(ajaxRequest.readyState == 4){
                var ajaxDisplay = document.getElementById('ReviewBox');
                ajaxDisplay.innerHTML = ajaxRequest.responseText;
                }
        }

        var queryString = "?review=" + ajax;
        ajaxRequest.open("GET", "../includes/ajax/review_ajax.php" +
queryString, true);
        ajaxRequest.send(null);
        //alert(queryString);
}

Any thoughts why this happens lads?

Cheers - Zahid
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
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/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to