Stack Exchange Network

Stack Exchange network consists of 174 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.

0
votes
0answers
18 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
12 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
29 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
9 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
33 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
25 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
24 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
19 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
0answers
63 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
46 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
50 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
25 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
36 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
84 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
52 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
107 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
23 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
24 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
94 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
122 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 ...
1
vote
1answer
70 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
95 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
81 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
407 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
2k 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
117 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
133 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
78 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
294 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
64 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
52 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
30 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
36 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
67 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
0answers
15 views

Removing delimiters while exporting a list to an HTLM table

I am trying to use SPServices to display a list as a custom HTML table. I used the solution given here: https://sharepoint.stackexchange.com/a/137446/77551 So far, so good, but user names on my list ...
0
votes
1answer
17 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
537 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 ...
2
votes
1answer
79 views

html & javascript to change URL on a form action based on a drop down

Using simple html and javascript how can I have one html form that asks two questions: Text OppID Dropdown LegalEntity LegalEntity will have available company1 & company2 When company1 is ...
2
votes
1answer
140 views

page reloaded when i click the button

I used following accordion code, But my page reload or refresh when i click it. <body> <h2>IT Teams</h2> <p>Click on the buttons to open the collapsible content.</p> &...
0
votes
3answers
382 views

How do i inject the following HTML in SharePoint online

I just trying to inject the following HTML script using content editor web part in SharePoint online. My web part page keeping searching, not displaying the result. Found Error: Here is the code: ...
0
votes
1answer
78 views

Displaying filtered promoted list tiles on a specific mouse click using choice

Blockquote Need some help figuring this out. I've replaced the names but the general process is that when the user clicks on Phase 1, I am meant to bring up the steps as tiles below level 1 on the ...
0
votes
1answer
36 views

How to show the info of only one item from a Sharepoint list with REST API?

I have a div with a link to an item which is in a sharepoint list, but I need to show also the last time it was modified that report. <div id="report"> <h2>Title</h2> <a ...
0
votes
1answer
45 views

HTML code isnt saving onto wiki page

I am new to SharePoint, and I am trying to put a background color for the titles on my page. Here is the code, <style type="text/css"> .ms-webpart-titleText.ms-webpart-titleText, .ms-...
0
votes
1answer
484 views

SharePoint ONLINE List Traffic Lights Showing Code instead of color

I have a small list I'm testing in for traffic lights right now with 3 columns. Title, column1 and traffic light title is just a text column, column1 is a number column, and traffic light is a ...
1
vote
1answer
33 views

Add new button Ribbon “Page” SP 2013 Ent

Tell me how to add a button to the Ribbon panel, without using a separate project in Visual Studio, that is possible?
1
vote
1answer
154 views

SharePoint Online suddenly stopped allowing open and edit for HTML files

I have lost the ability to open and edit html files in my document library (specifically site assets), I have CSS and JS files that I can still edit in browser but for HTML files there is no open ...
0
votes
0answers
19 views

Infopath Dropdown References Rich Text Box Entry and Displays the HTML Tags

I have a dropdown box in Infopath that references entries in a repeating section with a rich text box. The dropdown will display all the entries in the repeating section. However, the dropdown is also ...
0
votes
1answer
36 views

How to pull information from Sharepoint and display on a seperate website built with ASP.net and HTML

I have been tasked on creating an intranet website for my company. Currently we are using Office 365 SharePoint but my manager wants me to create a custom website which would be built on top of ...
0
votes
0answers
91 views

Connect to a site via SSL/DavWWWRoot not usual URL? Why does this make a difference?

Follow on from this question: https://stackoverflow.com/questions/49537046/can-i-over-ride-ie-enterprise-mode-from-html I succeeded, in hosting a D3 SVG visualisation on my company sharepoint site. ...
0
votes
1answer
10 views

Unable to copy from properties when Lookup included?

In SharePoint Designer 2013 (for a SPO site) when working with Workflows, I would like to be able to copy the HTML from the Email Body field (see below). When I highlight the HTML and Ctrl + C I get a ...