Jquery is not working on View page

Dear frz,

I have created View for Custom list ABC. on that view page , I have added QueryStringFilter Web Part and it filtered from Querystring values. it is working well.

However, I have to set dynamic value to default value of QueryStringFilter  web part. so if this page load first time . then it will filtered on the basis of default value.  and default value will be some type of cookie value or any state mentioned value so that it maintain user memory. so whenever, user come back again on the page , it will filtered on cookie value.

I tried with adding jquery inside view page in sharepoint designer. but it is not working. please let me know if you have any idea?

Thanks,

Nilesh Nimje

Mob- 7276718468 

August 27th, 2015 5:33pm

Hi Nilesh,

Your idea to achieve this goal is fine.

For this issue, please verify that if the Jquery code has been loaded in the page firstly.

Did you add reference to Jquery library in your code?

Secondly, please debug the Jquery code partly to see which part cannot work.

Here is an article about troubleshooting Jquery code for your reference:

http://css-plus.com/2010/03/6-steps-to-take-if-your-jquery-is-not-working/

Best regards,

Victoria

Free Windows Admin Tool Kit Click here and download it now
August 28th, 2015 9:56am

Hi,

Thanks for your reply.

Jquery is working on that page. however, I am unable to update variable value in QuerystringFilter Web Part Tag.

following are the example.

<WpNs0:QueryStringFilterWebPart runat="server" QueryStringParameterName="FilteredOption" DefaultValue=$testabc  FilterName="QueryString" ......................... >

Here, I want to update DefaultValue from above line from Jquery function. I am not sure whether it is correct approach or not? please let me know if there is any alternate way to achieve this.

September 1st, 2015 4:21am

Hi Nilesh,

You can change the URL with the corresponding query string value when user accesses the page directly.

http://stackoverflow.com/questions/17211736/change-url-query-string-value-using-jquery

Best regards,

Victoria

Free Windows Admin Tool Kit Click here and download it now
September 1st, 2015 10:09pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics