Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
196 views

Remove line break from text in JavaScript (variable value from XSLT)

I need get a variable value from XSLT in search result in SharePoint 2010. But this value is muti-lines text. When I add this variable value in JavaScript, the JS code cannot work, because the line ...
1 vote
1 answer
167 views

Show more/less in search result with JavaScript and XSLT

I have a metadata with the name "productiondescription", in my advanced search, I want to display this "productiondescription" in the search results. And I had changed srch-Description2 in the code ...
0 votes
1 answer
107 views

SHarepoint Search 2010 - XSL Code Customization

I need to display the image preview on my search result by replacing the code for the search-icon as below XSL code: img align="absmiddle" src="http://site/image/123.jpg" border="0" alt="{imageurl/@...