Click here to Skip to main content
15,920,110 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: Images are not loading that are referenced in CSS Pin
F-ES Sitecore20-Dec-19 4:03
professionalF-ES Sitecore20-Dec-19 4:03 
GeneralRe: Images are not loading that are referenced in CSS Pin
simpledeveloper20-Dec-19 8:23
simpledeveloper20-Dec-19 8:23 
QuestionHow do I close this menu automatically after clicking link? Pin
Melissa Anthonia17-Dec-19 8:38
Melissa Anthonia17-Dec-19 8:38 
QuestionAttempted to register a view with an id already in use: 2 - EmberJs Pin
simpledeveloper10-Dec-19 14:29
simpledeveloper10-Dec-19 14:29 
GeneralRe: Attempted to register a view with an id already in use: 2 - EmberJs Pin
Richard MacCutchan10-Dec-19 21:56
mveRichard MacCutchan10-Dec-19 21:56 
AnswerRe: Attempted to register a view with an id already in use: 2 - EmberJs Pin
F-ES Sitecore10-Dec-19 22:32
professionalF-ES Sitecore10-Dec-19 22:32 
GeneralRe: Attempted to register a view with an id already in use: 2 - EmberJs Pin
simpledeveloper11-Dec-19 5:53
simpledeveloper11-Dec-19 5:53 
GeneralRe: Attempted to register a view with an id already in use: 2 - EmberJs Pin
Natalie-9015-Dec-19 5:11
Natalie-9015-Dec-19 5:11 
GeneralRe: Attempted to register a view with an id already in use: 2 - EmberJs Pin
jkirkerx11-Dec-19 12:23
professionaljkirkerx11-Dec-19 12:23 
GeneralRe: Attempted to register a view with an id already in use: 2 - EmberJs Pin
simpledeveloper12-Dec-19 6:22
simpledeveloper12-Dec-19 6:22 
AnswerRe: Attempted to register a view with an id already in use: 2 - EmberJs Pin
Pete O'Hanlon12-Dec-19 0:02
mvePete O'Hanlon12-Dec-19 0:02 
GeneralRe: Attempted to register a view with an id already in use: 2 - EmberJs Pin
simpledeveloper12-Dec-19 6:26
simpledeveloper12-Dec-19 6:26 
QuestionI need to add “Add new item” option in Select2 Pin
Shraddha_Patel3-Dec-19 17:32
Shraddha_Patel3-Dec-19 17:32 
AnswerRe: I need to add “Add new item” option in Select2 Pin
phil.o3-Dec-19 21:45
professionalphil.o3-Dec-19 21:45 
SuggestionRe: I need to add “Add new item” option in Select2 Pin
ZurdoDev4-Dec-19 2:52
professionalZurdoDev4-Dec-19 2:52 
AnswerRe: I need to add “Add new item” option in Select2 Pin
simpledeveloper10-Dec-19 14:26
simpledeveloper10-Dec-19 14:26 
AnswerRe: I need to add “Add new item” option in Select2 Pin
Member 1469087415-Dec-19 23:13
Member 1469087415-Dec-19 23:13 
QuestionHow to include random password in email text message Pin
freezers30-Nov-19 19:44
freezers30-Nov-19 19:44 
Hi there,

I have created a random password and intend to send this password to the user's email. So that they can type in the password, to log into my course and at the same time use it as a verification.

Below is my random password code.

var passwordChars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz#@!%&()/";

var otp = Array(6).fill(passwordChars).map(function(x) {
 return x[Math.floor(Math.random() * x.length)]
}).join('');

var player = GetPlayer();
player.SetVar("NewOTP",otp);


let's say the random code is O#bD3f

The text message in the email will be

Please key in the password O#bD3f

How to include NewOTP in to the text message.

Please help

Thanks.
QuestionRe: How to include random password in email text message Pin
ZurdoDev3-Dec-19 8:00
professionalZurdoDev3-Dec-19 8:00 
AnswerRe: How to include random password in email text message Pin
freezers4-Dec-19 6:42
freezers4-Dec-19 6:42 
AnswerRe: How to include random password in email text message Pin
F-ES Sitecore3-Dec-19 22:56
professionalF-ES Sitecore3-Dec-19 22:56 
GeneralRe: How to include random password in email text message Pin
freezers4-Dec-19 6:42
freezers4-Dec-19 6:42 
QuestionJavascript: indicate when item in a list clicked? Pin
Xarzu30-Nov-19 2:11
Xarzu30-Nov-19 2:11 
QuestionRe: Javascript: indicate when item in a list clicked? Pin
Richard MacCutchan30-Nov-19 4:37
mveRichard MacCutchan30-Nov-19 4:37 
AnswerRe: Javascript: indicate when item in a list clicked? Pin
Member 1469087415-Dec-19 23:21
Member 1469087415-Dec-19 23:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.