Click here to Skip to main content
14,357,121 members

JavaScript

 
QuestionGet html element position on window scroll Pin
Vinod Jangle9-Jan-19 4:43
memberVinod Jangle9-Jan-19 4:43 
AnswerRe: Get html element position on window scroll Pin
Richard Deeming9-Jan-19 9:12
mveRichard Deeming9-Jan-19 9:12 
QuestionFailing to call the put and post Web Api methods from the react js components Pin
simpledeveloper24-Dec-18 10:55
membersimpledeveloper24-Dec-18 10:55 
Questionget a function to countdown (from any number) to zero Pin
Member 1409810523-Dec-18 15:49
memberMember 1409810523-Dec-18 15:49 
QuestionRe: get a function to countdown (from any number) to zero Pin
Richard MacCutchan25-Dec-18 22:18
protectorRichard MacCutchan25-Dec-18 22:18 
AnswerRe: get a function to countdown (from any number) to zero Pin
Bohdan Stupak9-Jan-19 20:40
professionalBohdan Stupak9-Jan-19 20:40 
Questionhow to get a js fuction to return html opening and closing tag Pin
Member 1409810522-Dec-18 18:34
memberMember 1409810522-Dec-18 18:34 
AnswerRe: how to get a js fuction to return html opening and closing tag Pin
Richard MacCutchan23-Dec-18 0:35
protectorRichard MacCutchan23-Dec-18 0:35 
Input parameter tagName is a variable value so needs to be outside of any quote characters. Your method should be something like:
function getHTMLTag(tagName) {
  var tag = '<' + tagName + '></' + tagName + '>';
  return tag;


[edit]
See also JavaScript Tutorial[^]
[/edit]

modified 23-Dec-18 7:21am.

GeneralRe: how to get a js fuction to return html opening and closing tag Pin
Member 1409810523-Dec-18 15:31
memberMember 1409810523-Dec-18 15:31 
QuestionGet an html table multiple rows as a string URL for Ajax Pin
Member 1409585019-Dec-18 23:55
memberMember 1409585019-Dec-18 23:55 
AnswerRe: Get an html table multiple rows as a string URL for Ajax Pin
Afzaal Ahmad Zeeshan23-Dec-18 1:29
mveAfzaal Ahmad Zeeshan23-Dec-18 1:29 
Questiondebug shopping cart project Pin
ghazabaz13-Dec-18 16:56
memberghazabaz13-Dec-18 16:56 
Questione.target.value, switch-case operators Pin
ghazabaz6-Dec-18 20:22
memberghazabaz6-Dec-18 20:22 
QuestionRe: e.target.value, switch-case operators Pin
Richard MacCutchan7-Dec-18 0:26
protectorRichard MacCutchan7-Dec-18 0:26 
QuestionRe: e.target.value, switch-case operators Pin
ghazabaz7-Dec-18 4:47
memberghazabaz7-Dec-18 4:47 
AnswerRe: e.target.value, switch-case operators Pin
Richard MacCutchan7-Dec-18 5:29
protectorRichard MacCutchan7-Dec-18 5:29 
AnswerRe: e.target.value, switch-case operators Pin
Richard Deeming7-Dec-18 6:37
mveRichard Deeming7-Dec-18 6:37 
QuestionRe: e.target.value, switch-case operators Pin
ghazabaz7-Dec-18 7:44
memberghazabaz7-Dec-18 7:44 
AnswerRe: e.target.value, switch-case operators Pin
Richard Deeming7-Dec-18 7:51
mveRichard Deeming7-Dec-18 7:51 
AnswerRe: e.target.value, switch-case operators Pin
Richard Deeming7-Dec-18 7:54
mveRichard Deeming7-Dec-18 7:54 
QuestionRe: e.target.value, switch-case operators Pin
ghazabaz8-Dec-18 6:19
memberghazabaz8-Dec-18 6:19 
AnswerRe: e.target.value, switch-case operators Pin
Richard Deeming11-Dec-18 2:16
mveRichard Deeming11-Dec-18 2:16 
PraiseRe: e.target.value, switch-case operators Pin
ghazabaz13-Dec-18 7:05
memberghazabaz13-Dec-18 7:05 
QuestionEasy HTML Editor Pin
Bram van Kampen3-Dec-18 16:23
memberBram van Kampen3-Dec-18 16:23 
AnswerRe: Easy HTML Editor Pin
Nathan Minier6-Dec-18 2:24
professionalNathan Minier6-Dec-18 2:24 

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.