SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to pass spme parameters using QueryString asper normal to a a listview or DWP. But i don't want the page to refersh.I tried using hash which works but no idea i can pass the parameter to my DWP. THanks in advance

My snippet code below.

$("#dropdown").change(function () { 


function checkSelected() {
    var m = $('#dropdown').find("option:selected").val();

    if (m !== 'Choose') {

        //This works but reloads the page
        var url = "?s=" + m;
        window.location.href = url;

        //This doesn't do any postback but doesn't refersh DWP
        //window.location.hash = "?store=" + m;

       //var param = document.URL.split('#')[1];

       //return false;


share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.