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 OriginalGriff 584
1 Maciej Los 275
2 DamithSL 233
3 Sergey Alexandrovich Kryukov 209
4 BillWoodruff 200
0 OriginalGriff 6,803
1 Sergey Alexandrovich Kryukov 6,377
2 DamithSL 5,421
3 Manas Bhardwaj 4,841
4 Maciej Los 4,330


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.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