This project has moved and is read-only. For the latest updates, please go here.

Page still refresh in Firefox even though I'm using SPServices

Jun 6, 2013 at 7:39 AM
Edited Jun 6, 2013 at 7:40 AM
I'm using SPServices GetListItems and it works in IE and chrome but when I tested it in Firefox the page refresh after completefunc.
Jun 6, 2013 at 12:12 PM
You're going to have to be a bit more specific than that.

Jun 7, 2013 at 3:14 AM
Sir i have two dropdown then if I select from the first dropdown the second dropdown will be populated but the page refresh in Firefox whenever I select from the first dropdown. It's working fine in IE,Chrome and Safari.

var btype = $(this).val();
        operation: "GetListItems",
        async: false,
        listName: "Business Contacts",
        CAMLViewFields: "<ViewFields><FieldRef Name='Title'/></ViewFields>",
        CAMLQuery: "<Query><Where><Eq><FieldRef Name='BusinessType'/><Value Type='Text'>" + btype + "</Value></Eq></Where></Query>",
        completefunc: function (xData, Status) {
            $(xData.responseXML).SPFilterNode("z:row").each(function () {
                var title = ($(this).attr("ows_Title"));

function projListDD2(d) {
    $("#postTo").append("<option>" + d + "</option>");
Jun 7, 2013 at 2:28 PM
There's got to be something else going on. There's nothing in your code above that would cause a page refresh.