If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Value prompt is not working properly when jQuery and Ajax usex

Started by srmarasu84, 10 Mar 2020 10:00:19 AM

Previous topic - Next topic

srmarasu84

Hi..
I am working on a report with report studio 10.2 and everything working fine ..There is requirement to get some column data from  web service in json format.Just I have included jQuery and getting the data with ajax and setting the column value.evefything is fine till here and data is setting fine.But the main report filters I mean value prompts I used is autosubmit one but the value prompts not submitting auto now.if I am using a finish button also the filter prompt getting ready and report is not filtering according to prompt...I tried in all the way but no use...can somebody guide me why this is happening ...I checked web developer console one error I found is _pgchidrennodes error but I am not sure this is relative to my actual of problem..
Help is appreciated...

Thanks in advance..

qvixote

Hi, srmarasu84!

How are you including jQuery in your report? I remember including it and having problems because jQuery uses "$()" as main function and Report Studio's inner scripts use another function called "$()" too, so it caused problems. To solve it, I included jQuery using the noConflict function, to change "$()" into "jq()", so RS can use "$()" for its functions and you use "jq()" when needing jQuery functionality.

Hope this may help you.

srmarasu84

Quote from: qvixote on 12 Mar 2020 08:18:52 AM
Hi, srmarasu84!

How are you including jQuery in your report? I remember including it and having problems because jQuery uses "$()" as main function and Report Studio's inner scripts use another function called "$()" too, so it caused problems. To solve it, I included jQuery using the noConflict function, to change "$()" into "jq()", so RS can use "$()" for its functions and you use "jq()" when needing jQuery functionality.

Hope this may help you.



Hi,


I have done the same but no use .The following script i tried in HTML element.But no use after dom updated by jQuery.I am attaching
the screenshot of web console  here.But how to achieve this.Value prompt auto submiting not working if i use jquery script.



 

srmarasu84

Quote from: srmarasu84 on 13 Mar 2020 10:01:55 AM


Hi,


I have done the same but no use .The following script i tried in HTML element.But no use after dom updated by jQuery.I am attaching
the screenshot of web console  here.But how to achieve this.Value prompt auto submiting not working if i use jquery script.


I found it is value prompt working for the first time only.when i changed value prompt it is autosubmitting for the first time even though jquery s there but not after ..It is a bit of surprie why the control is not working..