squaladesign
Forms Fledgling

HTML code in the Search filter

Jump to solution

Hi, I created a ListView and I added a <br> in the column header so I can have the header in 2 rows.

Attached the info.

It's perfect in the table but now in the search field I can see the <br> that I don't want.

How can I have the header column in 2 rows without using <br>? or How can I remove the <br> from the search?

 

Labels: (1)
0 Kudos
Reply
2 Replies
velRaj1
Design Dabbler

Re: HTML code in the Search filter

Jump to solution

You can write custom script to replace "<br>" to ""

 

<script>$("li > a > span").text(function () { return $(this).text().replace("<br>", "").replace("<br>", ""); });</script>

View solution in original post

Reply
squaladesign
Forms Fledgling

Re: HTML code in the Search filter

Jump to solution

Great, it's working. Thanks

0 Kudos
Reply