0

I have a custom list that I need to create a quiz. My issue is that all the columns of all the questions is long, which makes my column too lengthy?

I have actually found results to using JavaScript. Reference to the result: Referencing to this link But however, i realised that when I opened a new IE window, the column name is referred back to the original name.

So I would like to know if there's any other possible ways?

Thank you! :)

0

You can use the following code:

<script src="//code.jquery.com/jquery-1.11.3.min.js" type="text/javascript"></script>

</script>

<script type="text/javascript">

$(document).ready(function(){

//alert('b');

$('#diidSort12Priority').text('aaa');

})

</script>

Note: you need to change '#diidSort12Priority' to the element id of the column. you can find the element id via IE F12.

If you are using modern view for your list, the code should not work as modern view is not supported for JavaScript code currently, you need to use Classic view.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.