Text manipulation
In this article we explore text manipulation using jQuery, for examle we replace all the site content using the each function.
In this article we explore text manipulation using jQuery, for examle we replace all the site content using the each function.
1. Go to the site you want to change the name of the site content and see by default the name of all the Site Content (see in the figure).
2. In this site add a Content Editor Web part and select "Edit HTML Source" under the "Format Text" tab.
3. Now edit that Web Part and click here to add new content.
4. After this in the Ribbon under editing tools click on HTML then in the Ribbon under editing tools click on "HTML Source" under "Format Text" a shown in the following figure:
5. After this a popup window is opened, under this window add the following code.
6. Click on "Save" and "OK".
7. Now see the change of all the site content; it is "My Custom Content Name" as in the figure.
2. In this site add a Content Editor Web part and select "Edit HTML Source" under the "Format Text" tab.
3. Now edit that Web Part and click here to add new content.
4. After this in the Ribbon under editing tools click on HTML then in the Ribbon under editing tools click on "HTML Source" under "Format Text" a shown in the following figure:
5. After this a popup window is opened, under this window add the following code.
6. Click on "Save" and "OK".
7. Now see the change of all the site content; it is "My Custom Content Name" as in the figure.
No comments:
Post a Comment