Click here to Skip to main content
15,881,812 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: client's windows login name Pin
Nathan Minier19-Nov-19 0:45
professionalNathan Minier19-Nov-19 0:45 
GeneralRe: client's windows login name Pin
kishor kumar S H23-Nov-19 17:54
kishor kumar S H23-Nov-19 17:54 
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 11:20
Member 1465076510-Nov-19 11: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 22:23
mveRichard MacCutchan10-Nov-19 22:23 
QuestionGetting this following error: compare.js:1 Uncaught Error: Cannot find module 'ember' Pin
simpledeveloper5-Nov-19 9:26
simpledeveloper5-Nov-19 9:26 
SuggestionRe: Getting this following error: compare.js:1 Uncaught Error: Cannot find module 'ember' Pin
jkirkerx5-Nov-19 11:47
professionaljkirkerx5-Nov-19 11:47 
GeneralRe: Getting this following error: compare.js:1 Uncaught Error: Cannot find module 'ember' Pin
simpledeveloper5-Nov-19 12:14
simpledeveloper5-Nov-19 12:14 
QuestionLoading of a td value using another td value in Ember hbs file Pin
simpledeveloper4-Nov-19 11:32
simpledeveloper4-Nov-19 11: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}}>
                                                            class="fa fa-eye">
                                                        <div class="btn btn-xs btn-default" onclick={{action "generatePreCase" nov.NOVId }}>
                                                            ^__i class="fa fa-file">
                                                            Generate Investigation
                                                        </div>
                                                        {{else}}
                                                        <div class="btn btn-xs btn-default" onclick={{action "editNov" nov.NOVId}}>
                                                            ^__i class="fa fa-edit">
                                                            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 12:06
professionaljkirkerx5-Nov-19 12:06 
GeneralRe: Loading of a td value using another td value in Ember hbs file Pin
simpledeveloper5-Nov-19 12:09
simpledeveloper5-Nov-19 12:09 
Questionweb development Pin
Member 142901874-Nov-19 2:14
Member 142901874-Nov-19 2:14 
AnswerRe: web development Pin
phil.o4-Nov-19 2:18
professionalphil.o4-Nov-19 2:18 
GeneralRe: web development Pin
Richard MacCutchan4-Nov-19 2:26
mveRichard MacCutchan4-Nov-19 2:26 
GeneralRe: web development Pin
phil.o4-Nov-19 2:55
professionalphil.o4-Nov-19 2:55 
GeneralRe: web development Pin
F-ES Sitecore4-Nov-19 22:40
professionalF-ES Sitecore4-Nov-19 22:40 
AnswerRe: web development Pin
Pete O'Hanlon5-Nov-19 0:03
mvePete O'Hanlon5-Nov-19 0:03 
QuestionProblem with Geolocation Pin
Member 146374312-Nov-19 10:48
Member 146374312-Nov-19 10:48 
AnswerRe: Problem with Geolocation Pin
A_Griffin2-Nov-19 11:23
A_Griffin2-Nov-19 11:23 
QuestionProblem with Geolocation Pin
Member 1463743128-Oct-19 13:50
Member 1463743128-Oct-19 13:50 
AnswerRe: Problem with Geolocation Pin
Nathan Minier29-Oct-19 1:31
professionalNathan Minier29-Oct-19 1:31 
GeneralRe: Problem with Geolocation Pin
Richard Deeming29-Oct-19 2:16
mveRichard Deeming29-Oct-19 2:16 
GeneralRe: Problem with Geolocation Pin
Nathan Minier29-Oct-19 2:46
professionalNathan Minier29-Oct-19 2:46 
AnswerRe: Problem with Geolocation Pin
A_Griffin2-Nov-19 8:00
A_Griffin2-Nov-19 8:00 
QuestionOpening an External URL Page in my Modal Dialog and capture some of the information that's being submitted to the parent React Pin
simpledeveloper23-Oct-19 12:29
simpledeveloper23-Oct-19 12:29 
AnswerRe: Opening an External URL Page in my Modal Dialog and capture some of the information that's being submitted to the parent React Pin
jkirkerx24-Oct-19 12:35
professionaljkirkerx24-Oct-19 12:35 

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.