Click here to Skip to main content
14,365,441 members

JavaScript

 
QuestionJavaScript Question that doesn't make since. Pin
Member 1466141321hrs 25mins ago
memberMember 1466141321hrs 25mins ago 
AnswerRe: JavaScript Question that doesn't make since. Pin
Afzaal Ahmad Zeeshan16hrs 34mins ago
mveAfzaal Ahmad Zeeshan16hrs 34mins ago 
QuestionMessage Closed Pin
17-Nov-19 20:55
memberrajgureakash17-Nov-19 20:55 
QuestionHow can I avoid the phenomenon of asynchronous code using promises and async/await? Pin
Simonetos The Greek17-Nov-19 3:38
memberSimonetos The Greek17-Nov-19 3:38 
AnswerRe: How can I avoid the phenomenon of asynchronous code using promises and async/await? Pin
Nathan Minier18-Nov-19 2:35
professionalNathan Minier18-Nov-19 2:35 
AnswerRe: How can I avoid the phenomenon of asynchronous code using promises and async/await? Pin
Richard Deeming18-Nov-19 8:47
mveRichard Deeming18-Nov-19 8:47 
Questionclient's windows login name Pin
kishor kumar S H17-Nov-19 0:47
memberkishor kumar S H17-Nov-19 0:47 
AnswerRe: client's windows login name Pin
Eddy Vluggen17-Nov-19 1:41
mveEddy Vluggen17-Nov-19 1:41 
AnswerRe: client's windows login name Pin
Nathan Minier18-Nov-19 2:40
professionalNathan Minier18-Nov-19 2:40 
GeneralRe: client's windows login name Pin
kishor kumar S H18-Nov-19 22:49
memberkishor kumar S H18-Nov-19 22:49 
GeneralRe: client's windows login name Pin
Nathan Minier19-Nov-19 1:45
professionalNathan Minier19-Nov-19 1:45 
Question!!Please Help!! Student Needs Help It Shows me exercise 2 is correct but exercise 1 is not defined JS assign 3 and 13 Pin
Member 1465076510-Nov-19 12:20
memberMember 1465076510-Nov-19 12:20 
AnswerRe: !!Please Help!! Student Needs Help It Shows me exercise 2 is correct but exercise 1 is not defined JS assign 3 and 13 Pin
Richard MacCutchan10-Nov-19 23:23
protectorRichard MacCutchan10-Nov-19 23:23 
QuestionGetting this following error: compare.js:1 Uncaught Error: Cannot find module 'ember' Pin
simpledeveloper5-Nov-19 10:26
membersimpledeveloper5-Nov-19 10:26 
SuggestionRe: Getting this following error: compare.js:1 Uncaught Error: Cannot find module 'ember' Pin
jkirkerx5-Nov-19 12:47
professionaljkirkerx5-Nov-19 12:47 
GeneralRe: Getting this following error: compare.js:1 Uncaught Error: Cannot find module 'ember' Pin
simpledeveloper5-Nov-19 13:14
membersimpledeveloper5-Nov-19 13:14 
QuestionLoading of a td value using another td value in Ember hbs file Pin
simpledeveloper4-Nov-19 12:32
membersimpledeveloper4-Nov-19 12:32 
Hi, I have an ember hbs component, in which we have table, in which the value of a td should be decided depending upon the value of the previous td, here is my hbs code, any help please?
<div class="row">
                                <div class="col-md-12">
                                    {{#if model.novs}}
                                        <table class="table table-striped">
                                            <thead>
                                                <tr>
                                                    <th>Notice#</th>
                                                    <th>Type</th>
                                                    <th>Violation</th>
                                                    <th>Inspection Item</th>
                                                    <th>
                                                        Action
                                                    </th>
                                                </tr>
                                            </thead>
                                            <tbody>                                               
                                                {{#each  model.novs as |nov index|}}
                                                <tr>
                                                    <td>{{nov.NOVNumber}}</td>
                                                    <td>{{nov.NOVNoticeTypeName}} {{nov.ViolationTypeName}}</td>
                                                    <td>
                                                        {{#each  nov.Violations as |novv index|}}
                                                        {{novv.ViolationNumber}}
                                                        {{novv.Year}}
                                                        {{novv.Make}}
                                                        {{novv.Model}}
                                                        {{#if novv.Vin}}(VIN#:
                                                        {{novv.Vin}})
                                                        {{/if}}
                                                        <br />
                                                        {{/each}}
                                                    </td>
                                                    <td>
                                                        {{#each  model.result.items as |novi index|}}
                                                        {{novi.itemNum}}
                                                        <br />
                                                        {{/each}}
                                                    </td>
                                                    <td>
                                                        {{#if isResCompletedStatus}}
                                                        <div class="btn btn-xs btn-default" onclick={{action "editNov" nov.NOVId}}>
                                                            
                                                            View Notice
                                                        </div>
                                                        <div class="btn btn-xs btn-default" onclick={{action "generatePreCase" nov.NOVId }}>
                                                            
                                                            Generate Investigation
                                                        </div>
                                                        {{else}}
                                                        <div class="btn btn-xs btn-default" onclick={{action "editNov" nov.NOVId}}>
                                                            
                                                            Edit Notice
                                                        </div>
                                                        {{/if}}
                                                    </td>
                                                </tr>
                                                {{/each}}
                                            </tbody>
                                        </table>
                                    {{else}}
                                        {{#unless isResCompletedStatus}}
                                            {{#link-to 'result.details.nov.details' 0 disabled=isResFormDisabledBoolean}}
                                                <div class="well text-center no-margin">
                                                    Click here to add a Notice.
                                                </div>
                                            {{/link-to}}
                                            {{else}}
                                            <div class="well text-center no-margin">
                                                No notices...
                                            </div>
                                        {{/unless}}
                                    {{/if}}
                                </div>
                            </div>

In the above code, the model.result.items has Violation element, how can I display the novi.itemNum for the novv.ViolationNumber that is displayed, any help please - thanks in advance.
GeneralRe: Loading of a td value using another td value in Ember hbs file Pin
jkirkerx5-Nov-19 13:06
professionaljkirkerx5-Nov-19 13:06 
GeneralRe: Loading of a td value using another td value in Ember hbs file Pin
simpledeveloper5-Nov-19 13:09
membersimpledeveloper5-Nov-19 13:09 
Questionweb development Pin
Member 142901874-Nov-19 3:14
memberMember 142901874-Nov-19 3:14 
AnswerRe: web development Pin
phil.o4-Nov-19 3:18
mvephil.o4-Nov-19 3:18 
GeneralRe: web development Pin
Richard MacCutchan4-Nov-19 3:26
protectorRichard MacCutchan4-Nov-19 3:26 
GeneralRe: web development Pin
phil.o4-Nov-19 3:55
mvephil.o4-Nov-19 3:55 
GeneralRe: web development Pin
F-ES Sitecore4-Nov-19 23:40
mveF-ES Sitecore4-Nov-19 23:40 
AnswerRe: web development Pin
Pete O'Hanlon5-Nov-19 1:03
protectorPete O'Hanlon5-Nov-19 1:03 

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.