Click here to Skip to main content
15,886,639 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
Hi,

Sharepoint page is refreshing repeatedly after calling onchange method for the filter dropdown in jquery.

code onchange as below:
C#
$(id).attr('onchange', '');
 $(id).change(function(){
    var dropDownSelection = '963208C944D86D67BA83694196DFBF81';
    PPSMA.ClientConnectionManager.get_instance().updateFilter
    ({'ClientId':'g_ea64ca55_e6bd_475f_b58d_4f83c6a2f1aa','Name':'FilterValues','Selections':[dropDownSelection]});
        $(id).attr("disabled", true);

    });

$(id).change();



Thanks.
Posted
Updated 22-Jul-14 0:02am
v4

1 solution

use this will help you
HTML
<a href="http://www.andismith.com/blog/2011/11/on-and-off/">http://www.andismith.com/blog/2011/11/on-and-off/</a>[<a href="http://www.andismith.com/blog/2011/11/on-and-off/" target="_blank" title="New Window">^</a>]
 
Share this answer
 
Comments
jyothivs 14-Aug-14 3:39am    
we tried .on and .off.
But not helping me to solve refresh issue.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900