All Questions
Tagged with html5 javascript
15 questions
0
votes
1
answer
394
views
Video Should not Play every time when page loads and page reloads in a SharePoint page
In SharePoint default page I add script editor web-part and in this added below script
<video width="100%" autoplay="false" controls="true" style="width: 100%;&...
0
votes
1
answer
39
views
Convert PDF content(with images) to the Inline HTML content
Is there any Javascript library or code available to convert pdf content(with images) to the HTML inline content.
Any help would be appreciated, Thanks in advance
0
votes
1
answer
59
views
How to add validation field in every input type or required fields
Here is my JS.
function addItem() {
//Radio Button
var tipo = document.getElementsByName("priority");
for (var i = 0; i < tipo.length; i++) {
if (tipo[i]....
0
votes
1
answer
524
views
how to show the progress bar while binding data from sharepoint list to html table
I had drop down's and based no that I am binding the data to html
table from SharePoint list.
My Customer is expecting to show the progress bar .
Can any one help me how can I show it on page load and ...
0
votes
2
answers
3k
views
How to upload attachment with new items using dialog in custom html form
I found the link below kind of useful, and it works with my sample code below, but the problem is, this is for an existing item... I want to know how to do it if the item has not been created yet in a ...
1
vote
1
answer
2k
views
Uploading File with rest api and HTML5 api
I am using SharePoint 2013 on premise. I am trying to upload file to the custom list from custom webpart purely jQuery and javascript. In my form I have hyperlink, when I click on it, it will open ...
4
votes
2
answers
2k
views
How to consume SP REST using only JavaScript\CSS\HTML5 (from CRM, outside Sharepoint, same AD)
How do I do to consume a REST DataSet using only something like JQuery?
For example, if I have the items in a list\library and retrieve them as follows:
https://[sharepoint]/_api/web/...
1
vote
0
answers
931
views
Programmatically Edit and Programmatically Save Edited Wiki Page in Sharepoint 2013
I inserted javascript code in a Sharepoint 2013 wikipage, through Embed Code.
The basic javascript code appends rows to a table, the code is
var myTable= document.getElementById('myTable');
myTable....
1
vote
1
answer
62k
views
Get value from textboxes inside dynamic table using selector
I am creating one row every time im clicking on the btn Add row. In this row there is 3 textboxes and one lable(span) and one buttom. I want to reach by selector the value in the (input type:text) or ...
0
votes
0
answers
2k
views
SharePoint 2010 webservice call using JavaScript
We are building a HTML 5.0+ JavaScript app which will fetch some data from a SharePoint 2010 intranet site and will display the data. The HTML 5.0 app will be developed for iPad and iPhone. When we ...
0
votes
3
answers
757
views
Does SharePoint 2010 support HTML5, createJS elements?
I'm trying to embed HTML5/createJS in a SP Content Editor Web Part.
On my browser (Chrome):
In SharePoint (Chrome): The background CSS renders, but not the createJS/HTML5 elements (canvas):
Any ...
0
votes
2
answers
4k
views
Lists.asmx and List Item Attachments
How would the lists.asmx service be used to add an attachment to a list item with JavaScript File API?
I cannot find an example of anything other than copy.asmx for adding documents.
Update:
Here ...
4
votes
1
answer
3k
views
JS CSOM in Custom .HTML File
I am building a SPA using SP 2010 as my back end but with custom HTML/CSS/JS deployed to a subfolder of _Layouts. I get everything I need from ListData.svc with the exception of the current logged on ...
11
votes
2
answers
15k
views
sharepoint 2013 rest api upload image
I want to upload image or create image in Sharepoint 2013 document library using rest api (Javascript)
my code to get bite array from input type file element is
var reader = new FileReader();
...
5
votes
1
answer
7k
views
JS Web Worker and SP.JS - Type is not defined
I'm experimenting with using CSOM and Web Workers as many of my users use Chrome and FireFox. Currently I am importing SP.js and SP.Core.js
importScripts("../SP.js", "../SP.Core.js");
What other ...