Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [html]

HyperText Markup Language (HTML) is the main markup language for displaying web pages and other information that can be displayed in a web browser.

1
vote
4answers
33 views

Custom HTML and CSS in sharepoint

Hi so I was wondering if there is a way to basically create my own website that is shown through SharePoint. Basically I want to use the SharePoint top navigation bar but everything below it I would ...
0
votes
1answer
19 views

How to dynamically bind the HTML table and show as modal popup in JS file [closed]

I want to create a HTML table dynamically in .js file and want to show it as a Modal popup.I can't add HTML controls in .js file since it shows syntax error. I have provided the code sample. any help ...
0
votes
0answers
25 views

Need help with HTML footer code for modern sharepoint page

I have a requirement in modern SharePoint to achieve footer as shown in screenshot below, I am using an SPFX web part through a github solution to embed footer and header in a modern sharepoint page ...
0
votes
1answer
21 views

Connect HTML with Document Library

Is it possible to add an Html page as a web part inside SharePoint. I want this html page to have rows of links that once clicked, it would bring users to specific folder inside a Document Library on ...
0
votes
0answers
14 views

Why do the headings in the text web part differ from the HTML in SharePoint Online?

When I inspect a text element on a site page I see that headings in the text map to different HTML headings. When I apply a Heading 1, I see an H2 in the code. When I apply a Heading 2, I see an H3 ...
1
vote
1answer
18 views

HTML Rendering in Calculated Columns - SharePoint 2019 on premise

I know that for 2013 and 2016 on premise that there is the capability to adjust a web app setting to allow HTML rending in calculated columnsm via PowerShell: CustomMarkupInCalculatedFieldDisabled ...
0
votes
1answer
27 views

Create html with links to different folder in Document Library

I saw this html part that had different links to different sites or folder inside SharePoint. Is it possible to create on that would consist of links to different folder inside document libary The ...
0
votes
0answers
17 views

Copying Text from SharePoint into another website not recognized

I was not able to find any answers based upon this one yet, but we have a few Enterprise Wiki pages that have items such as case numbers or Jira tags that need to be copyable and then searchable on ...
1
vote
0answers
37 views

Sharepoint Online HTML Editor not working

Any one else is facing the same problem? I also attached screenshot for more clarity. any suggestions?
0
votes
0answers
20 views

custom form - hide field based on other field value

i used next code in my custom form of document library `<script src="http://code.jquery.com/jquery-1.7.2.min.js" type="text/javascript&quot;"></script><script type="text/...
0
votes
1answer
24 views

How can I send the results from a form (with HTML, CSS, JavaScript, JQuery, etc.) to a Sharepoint Library

I am trying to create a form with html, css, javascript, jquery. Basically, what I would like to do is, when the user clicks on the "Submit" button, the values entered in the form will be send to a ...
0
votes
1answer
88 views

Display Template Date Format not working to display mm/dd/yy Please Help!

I have a display template that is working, however it is not displaying the date in the format that I want. I need it in the following format MM/DD/YY I had someone trying to help but they bailed on ...
0
votes
1answer
59 views

Display Template format Start and Due Date MM/DD/YYY

I have a display template that is working awesome but for the formatting of the Managed Property not displaying the date correctly. I do not want the time included in the display. I am still ...
1
vote
1answer
32 views

Storing HTML website archive on Sharepoint?

I have an old intranet site that I've made an archive of using HTTrack - with the folder on my computer (either Mac or Windows), I can browse the copy fine. What I'd like to do is upload it (somehow) ...
0
votes
0answers
22 views

Using List data in html pages hosted in sharepoint online

I have hosted my html pages using sharepoint designer into my sharepoint online Site pages. Now can I pull these list data inside this html pages in a formatted manner wherein design of list view is ...
0
votes
0answers
24 views

Unable to append to modal using PnP.js and Ajax

I'm unable to append a certain div to a modal when pulling in data using pnp and JavaScript. The whole process explained: Function DomyApiCalls - WORKS (Pulls in all the boxes with the titles) ...
0
votes
1answer
44 views

Ajax is being called in Chrome but not IE

I'm using Ajax calls to pull in data for a table and I have successfully been able to pull in data for Chrome and everything shows up perfectly fine, but my table is not wanting to show up in IE at ...
0
votes
0answers
19 views

Shopping Cart-Like Email Order Form For Blogger?

I have purchased my own domain but hosting is done on Blogger. I use a customized template so that the site does not appear as a Blogger page. I am using blogger for hosting as my sute is image heavy ...
1
vote
2answers
41 views

Call function when press ENTER [closed]

I've this code below: <div class="search-container"> <input id="search-value" type="text" autocomplete="off" ng-model="vm.searchQuery" ng-focus="vm.searchBoxHasFocus = true" ng-blur="vm....
0
votes
0answers
28 views

Feedback Buttons html sharepoint

i need to create a feedback page. The feedback is submitted via 3 buttons(smileys) - good, ok and bad. So far i got an html page with the buttons. When you click one, you get redirected to another ...
0
votes
1answer
35 views

Sharepoint HTML table with colors [closed]

I'm sure this is super simple, but I'm having a hard time wrapping my head around the logic of it. I have a SharePoint list of ~100 items, each item has an identifier A-C for example. I'd like to ...
0
votes
0answers
51 views

SharePoint - Table Style Default without border

Developing a page and the content is formatted perfectly with "Default Table Style - light" when I switch it over to "Table Style 1 - clear" to remove the borders all my margins and spacing changes. ...
4
votes
1answer
81 views

Get SubFolders using Sharepoint REST API and show them in HTML DIV

I want to retrieve Subfolders using SP REST API and check if there is any created folder and If it exists, display HTML content like: <label>SubFolder Title</label> for each SubFolder. All ...
0
votes
2answers
138 views

Retrieve a sharepoint list item based on current user

I am currently building a leave request app addin for share point using HTML and java script. I want to have each users leave days remaining days displayed on the form when they are submitting a leave ...
0
votes
4answers
129 views

Converting HTML to Pdf

I have got an html form in SharePoint. I need to generate a pdf from it on a button click. Any suggestions which approach to follow here?
1
vote
0answers
34 views

Sharepoint Online doesn't crawl contents of htm files in a document library

29/10/2018 04/11/2018 Uploaded a bunch of htm files to a Sharepoint Server 2013 (on prem) library. Crawled the contents, confirmed in the log. I'm able to search the contents of it successfully. Did ...
1
vote
1answer
39 views

Can the latest versions of SharePoint support code snippets?

I want to create a dashboard at work. Due to company restrictions, our best bet is to create one in SharePoint. This means we have to extract the data from an Oracle DB and use the data to create the ...
0
votes
2answers
156 views

How to create a list item using javascript

I found some code to put a stopwatch on a site page. I want the user to enter their name and the task they are performing and start the timer. When they stop the timer I want the Name, Task and Time ...
0
votes
1answer
152 views

Collapse and expand tables independently with same class name inside SharePoint wiki page

I am trying to create collapsible sections with header (clickable) and description (details about header) inside a SharePoint wiki page. There will be multiple such sections inside the wiki page. Is ...
0
votes
1answer
346 views

iframe & removing scroll bars

Hi I have an iframe and I am trying to hide the scroll bar however with the code I'm assuming it doesn't seem to disappear. Any suggestions? <div style="overflow: hidden; margin: 15px auto; max-...
0
votes
1answer
26 views

Best approach to create clickable image to link to .aspx page with latest modified date?

I have a clickable image that exists on a classic sharepoint online team site that links to a page stored in the /SitePages libraray. This was integrated through a CEWP that points to a simple html ...
-1
votes
1answer
29 views

How to make a column that color codes based on how old items in the list are

I am trying to make a column for my sharepoint list that is color coded based on how old items in the list are(i.e. if items are less than 1 day old there will be a green circle, less than 2 days but ...
1
vote
1answer
230 views

How to host html file in share point online?

as part of migration lot of html files have been moved to SharePoint 2013 to online. but the html files not working on the online.
0
votes
1answer
405 views

How to make modern SharePoint site full width

Has anyone had any luck in making their modern SP site utilise the full width of the web page? I have a requirement to embed the "Planner" app onto a SP site, but would like to also remove the massive ...
2
votes
1answer
173 views

SharePoint online File editor no longer has save button

starting last wednesday I lost the ability to save changes I make to my HTML/CSS/JS files in the file editor. They allow me to "Open in Text Editor" but the Save button never appears at the top of the ...
0
votes
1answer
189 views

Sort list from camlQuery

I am using SP.CamlQuery.createAllItemsQuery() to grab all items from a custom list in SharePoint, however even though the list itself is sorted in an alphabetical order, when it comes through to a ...
0
votes
1answer
238 views

HTML WebPart dropdown a custom list

I have a content editor web part that is referencing an html page. How can I fill a dropdown on that html page with the contents of a sharepoint custom list column?
0
votes
2answers
1k views

How to open HTML pages of a document library in sharepoint in browser instead of downloading?

There are some HTML files in our O365 SharePoint Online library. We want to open those files directly in browser instead of downloading.But there is no option in SP Online.Please suggest as we can ...
0
votes
3answers
4k views

Showing or embedding html content on Sharepoint Online

I need to show a html file on a modern sharepoint site. Wiki or webpart, right now, doesn't matter. I don't want to allow all users to add custom code, so putting the file as aspx in the site pages ...
1
vote
2answers
290 views

favicon is not working SharePoint Online site using HTML master page

I'm using HTML master page for SharePoint online site. To show favicon i have included the below code in HTML master page, <link rel="shortcut icon" href="https://siteurl/favicon.ico" type="image/...
-1
votes
1answer
234 views

Is it posible to upload file in Lists Attachments in SharePoint in custom way

Is it posible to upload file in Lists Attachments in SharePoint in custom way I already tried using REST and JS but I am facing an error and it can't upload if it's posible kindly suggest what way to ...
2
votes
2answers
97 views

How to attach file in sharepoint I am using that function but its error [duplicate]

What is the problem with this? Im trying to attach file in SharePoint. <!DOCTYPE html> <html> <head> <title>Sample</title> <script type="text/javascript" ...
0
votes
3answers
894 views

Possible to embed sharepoint list/library in a regular HTML page?

Our new site is made entirely with HTML and we are pleased with how it is progressing. The pages contains links to various sharepoint libraries which is fine. But on the home page we want the ability ...
0
votes
1answer
70 views

SPFX Textarea Render Issue in IE11

I have the above Textarea displaying some dynamic address, it displays and keeps my CSS styling as wanted in Chrome (Version 67.0.3396.99 (Official Build) (64-bit) ) with no border or other issues but ...
0
votes
2answers
115 views

How to get data from JavaScript getelementbyid

How to get data from JavaScript getelementbyid insert into Html input text? Here is my sample code: <script type="text/javascript"> ExecuteOrDelayUntilScriptLoaded(init,'sp.js'); var ...
1
vote
1answer
32 views

Drop-down list box save on selection

So I'm not all that good with JavaScript and figured that this would be the only way it could be done, if there is another way great, I am trying to make a rota and have it so I can save the selected ...
0
votes
2answers
50 views

Linking JS with web part in Sharepoint 2013?

I created a sharepoint task list with the column "Priority" according to this guide: https://code.msdn.microsoft.com/office/Client-side-rendering-code-0a786cdd#content Then I linked the JS, which I ...
2
votes
0answers
97 views

Google ReCaptcha not working

I'm working on SP 2013 on premise. I have a site collection, I created a simple form in a page asking for user input details like First Name, Last Name and Email address and also added recaptcha in ...
0
votes
1answer
20 views

Can i format the table of contents web app to look nice using html and css scripting?

id like to make the output from my table of contents look like a series of buttons i have already designed and have used on other sites but the content on this page will likely change more frequently ...
3
votes
2answers
1k views

sharepoint 2013 button onclick event gets removed after page save

I am trying to call a Javascript function through a button I posted on my sharepoint page like so <button type="button" onclick="myFunction(); return false;">Button</button> But after I ...