Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hi,
 
Sharepoint page is refreshing repeatedly after calling onchange method for the filter dropdown in jquery.
 
code onchange as below:
$(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 20-Jul-14 23:10pm
Edited 22-Jul-14 1:02am
v4

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

use this will help you
<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>]
  Permalink  
Comments
jyothivs at 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)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 555
1 Kornfeld Eliyahu Peter 409
2 Maciej Los 359
3 DamithSL 196
4 OriginalGriff 188
0 OriginalGriff 6,353
1 DamithSL 4,854
2 Maciej Los 4,466
3 Kornfeld Eliyahu Peter 4,058
4 Sergey Alexandrovich Kryukov 3,897


Advertise | Privacy | Mobile
Web01 | 2.8.141220.1 | Last Updated 9 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100