Questions tagged [js]

The tag has no usage guidance.

0
votes
2answers
25 views

JavsScript/CSS Files in SharePoint Style Library/Site Assets not updating

We store all code files(.js/.css) in Style Library/Site Assets Library in SharePoint Publishing site. Sometimes, we/end users don’t see the updated JavaScript/CSS files in Browser even after clearing ...
0
votes
2answers
628 views

Custom New Form Not Working for End User

I have a custom form that I use an HTML file and JS file to span the fields that I designate and populate in the HTML fields. It has been working fine up until Friday, when the fields seem to not ...
0
votes
1answer
108 views

Sharepoint 2010 list column to not to allow special characters and white spaces

I want to to some validation for Sharepoint 2010 list column to not to allow special characters and white spaces. Please let me know if any JS or Validation formula.
1
vote
0answers
18 views

Linking a sharepoint list to an external js file?

I would like the contents of searchStrings to refer to a list on sharepoint. Is there anyway to do that? document.getElementById('spe').addEventListener('keyup', function() { var kitten = ...
0
votes
0answers
17 views

how to redirect users to a specific document library view page depending upon the content type they populate while uploading a file

I have a scenario where for a document library , i have 4 content types as: Lease, Loan, Finance, Admin. Similarly for each of these content types, I have respective views created. View names are same ...
0
votes
0answers
86 views

How to set the SharePoint lookup value using JSOM?

For one of the Requirements, i have to set the value of SharePoint lookup column using JS/JQ. I am getting a value returned from a function and this value is present in the drop-down choices. So ...