Answer the question
In order to leave comments, you need to log in
How to add a script to Bitrix crm?
You need to change the numbers to text, using js, I wrote the code, but I don’t know where to stick it.
https://b24-y68x8f.bitrix24.ru/stream/
the code is
$(document).ready(function() {
String.prototype.replaceAll = function(s1, s2) {
return this.replace(
new RegExp( s1.replace(/[.^$*+?()[{\|]/g, '\\$&'), 'g' ),
s2
);
};
var e = $("span"),
fix = e.html().replaceAll('74991105297', "Текст1");
e.html(fix);
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question