jQuery Apostrophe alternative code
Hi All
We use jQuery in SharePoint by adding the text file that contains the jQuery code into a Content editor web part.
We may want to use [ ' ] Apostrophe symbol in any of the field name that we fetch from SharePoint lists.
When we use the symbol directly in the code, the page will not get loaded and probably we will see an empty page without any styles.
To fix this error we just need to input an alternative alphanumeric text instead of the symbol.
Original symbol : '
Alternate text : '
Example :
The name we want with Apostrophe : S'ins
The alternate text that we should enter : S'ins
To fix this error we just need to input an alternative alphanumeric text instead of the symbol.
Original symbol : '
Alternate text : '
Example :
The name we want with Apostrophe : S'ins
The alternate text that we should enter : S'ins
Happy Learning !!!
Learn it ! Love it ! Lead it !
To learn more just visit our page in Facebook SharePoint Dev