Forum Discussion
AdamKeever1
Qrew Commander
Updated to correct an element for use with table including dynamic filters (use the above code for tables without dynamic filters):
(function(){
var querystring=document.location.search;
if(/a=q/i.test(querystring)) {
var description = $("#descriptionInFacets").text().replace(/script/g, "span");
$("#descriptionInFacets").html(description);
var mytoday = new Date().toLocaleString();
$(".mytoday").html(mytoday);
}
if(/a=td/i.test(querystring)) {
var description = $("#descriptionInFacets").text().replace(/script/g, "span");
$("#descriptionInFacets").html(description);
var mytoday = new Date().toLocaleString();
$(".mytoday").html(mytoday);
}
if(/dlta=mog/i.test(querystring)) {
var description = $("#descriptionInFacets").text().replace(/script/g, "span");
$("#descriptionInFacets").html(description);
var mytoday = new Date().toLocaleString();
$(".mytoday").html(mytoday);
}
})();
This works in the code page.
This also allows you to add buttons to the top of the report:
------------------------------
Adam Keever
------------------------------
(function(){
var querystring=document.location.search;
if(/a=q/i.test(querystring)) {
var description = $("#descriptionInFacets").text().replace(/script/g, "span");
$("#descriptionInFacets").html(description);
var mytoday = new Date().toLocaleString();
$(".mytoday").html(mytoday);
}
if(/a=td/i.test(querystring)) {
var description = $("#descriptionInFacets").text().replace(/script/g, "span");
$("#descriptionInFacets").html(description);
var mytoday = new Date().toLocaleString();
$(".mytoday").html(mytoday);
}
if(/dlta=mog/i.test(querystring)) {
var description = $("#descriptionInFacets").text().replace(/script/g, "span");
$("#descriptionInFacets").html(description);
var mytoday = new Date().toLocaleString();
$(".mytoday").html(mytoday);
}
})();
This works in the code page.
This also allows you to add buttons to the top of the report:
------------------------------
Adam Keever
------------------------------
AswathyPadikkal
4 years agoQrew Member
Hi Adam ,
I've been trying to use the script posted by Everret but seems like it's not working for me .
Attached scre
------------------------------
Aswathy Padikkal
------------------------------
I've been trying to use the script posted by Everret but seems like it's not working for me .
Attached scre
enshot for reference.
------------------------------
Aswathy Padikkal
------------------------------
- AswathyPadikkal4 years agoQrew MemberHi ,
In reference to my above question , where should i place the html code ? I know i'm placing it incorrectly in the above snapshot.
Thanks all for your help
------------------------------
Aswathy Padikkal
------------------------------