Click here to Skip to main content
15,851,395 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: JavaScript Question #3 Pin
Kevin Marois25-Apr-17 11:51
professionalKevin Marois25-Apr-17 11:51 
GeneralRe: JavaScript Question #3 Pin
Kevin Marois25-Apr-17 13:29
professionalKevin Marois25-Apr-17 13:29 
AnswerRe: JavaScript Question #3 Pin
Jon McKee25-Apr-17 10:53
professionalJon McKee25-Apr-17 10:53 
GeneralRe: JavaScript Question #3 Pin
Kevin Marois25-Apr-17 11:51
professionalKevin Marois25-Apr-17 11:51 
GeneralRe: JavaScript Question #3 Pin
Kevin Marois25-Apr-17 11:54
professionalKevin Marois25-Apr-17 11:54 
GeneralRe: JavaScript Question #3 Pin
Richard Deeming25-Apr-17 13:31
mveRichard Deeming25-Apr-17 13:31 
GeneralRe: JavaScript Question #3 Pin
Kevin Marois25-Apr-17 13:32
professionalKevin Marois25-Apr-17 13:32 
QuestionNext JavaScript Question Pin
Kevin Marois25-Apr-17 8:50
professionalKevin Marois25-Apr-17 8:50 
Looking at this article.

In the JS code there is
var ticker = $.connection.stockTickerMini, // the generated client-side hub proxy
    up = '▲',
    down = '▼',
    $stockTable = $('#stockTable'),
    $stockTableBody = $stockTable.find('tbody'),
    rowTemplate = '<tr data-symbol="{Symbol}"><td>{Symbol}</td><td>{Price}</td><td>{DayOpen}</td><td>{Direction} {Change}</td><td>{PercentChange}</td></tr>';

Can someone please break this down for me?

I understand that the first line is a reference to the SignalR hub, but other than that, I have zero clue what's happening here.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

AnswerRe: Next JavaScript Question Pin
Richard Deeming25-Apr-17 9:14
mveRichard Deeming25-Apr-17 9:14 
GeneralRe: Next JavaScript Question Pin
Kevin Marois25-Apr-17 9:16
professionalKevin Marois25-Apr-17 9:16 
GeneralRe: Next JavaScript Question Pin
Richard Deeming25-Apr-17 9:22
mveRichard Deeming25-Apr-17 9:22 
GeneralRe: Next JavaScript Question Pin
Kevin Marois25-Apr-17 9:23
professionalKevin Marois25-Apr-17 9:23 
QuestionQuick JavaScript Question Pin
Kevin Marois25-Apr-17 7:27
professionalKevin Marois25-Apr-17 7:27 
AnswerRe: Quick JavaScript Question Pin
Richard Deeming25-Apr-17 7:59
mveRichard Deeming25-Apr-17 7:59 
GeneralRe: Quick JavaScript Question Pin
Kevin Marois25-Apr-17 8:09
professionalKevin Marois25-Apr-17 8:09 
GeneralRe: Quick JavaScript Question Pin
Kevin Marois25-Apr-17 8:16
professionalKevin Marois25-Apr-17 8:16 
GeneralRe: Quick JavaScript Question Pin
Richard Deeming25-Apr-17 9:10
mveRichard Deeming25-Apr-17 9:10 
GeneralRe: Quick JavaScript Question Pin
Kevin Marois25-Apr-17 9:11
professionalKevin Marois25-Apr-17 9:11 
GeneralRe: Quick JavaScript Question Pin
Richard Deeming25-Apr-17 9:15
mveRichard Deeming25-Apr-17 9:15 
GeneralRe: Quick JavaScript Question Pin
Kevin Marois25-Apr-17 9:19
professionalKevin Marois25-Apr-17 9:19 
QuestionAdd or Update Row In Data Table Pin
Kevin Marois24-Apr-17 13:13
professionalKevin Marois24-Apr-17 13:13 
AnswerRe: Add or Update Row In Data Table Pin
Richard Deeming25-Apr-17 13:48
mveRichard Deeming25-Apr-17 13:48 
GeneralRe: Add or Update Row In Data Table Pin
Kevin Marois25-Apr-17 13:49
professionalKevin Marois25-Apr-17 13:49 
GeneralRe: Add or Update Row In Data Table Pin
Kevin Marois26-Apr-17 9:01
professionalKevin Marois26-Apr-17 9:01 
GeneralRe: Add or Update Row In Data Table Pin
Richard Deeming27-Apr-17 2:39
mveRichard Deeming27-Apr-17 2:39 

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.