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.

0
votes
0answers
13 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
33 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
19 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
0answers
14 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
76 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
44 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
31 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
21 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
16 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
38 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
12 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
38 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
26 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
28 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
39 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
70 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
96 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
73 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
30 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
38 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
122 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
106 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
246 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
24 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
27 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
166 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
248 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
94 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
140 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
155 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
790 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
3k 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
195 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
173 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
85 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
617 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
68 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
84 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
31 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
41 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
83 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
19 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
789 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
81 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
229 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
481 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
97 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
39 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
628 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 ...