Questions tagged [js]

The tag has no usage guidance.

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
6 views

HTML/ASPX/JS files and access control

I'm using sharepoint to host a website with differing levels of access for users. I have a basic landing page in a folder to which everyone has access. This then loads html elements from different sub ...
0
votes
1answer
150 views

'SP is not defined' when trying to run JS code on Modern Script Editor

I am facing this error message, referring to this line: SP.SOD.executeFunc('sp.js', CheckCurrentUerGroup); I am quite new to this stuff but what is causing this? I want to use a basic redirecting ...
0
votes
2answers
162 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
1answer
192 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.
0
votes
2answers
848 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 ...