Click here to Skip to main content
15,357,966 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: Using modules in a regular PHP Web Application - function is undefined - Think I got it now Pin
jkirkerx9-Feb-22 13:25
professionaljkirkerx9-Feb-22 13:25 
AnswerRe: Using modules in a regular PHP Web Application - function is undefined Pin
Richard Deeming9-Feb-22 21:49
mveRichard Deeming9-Feb-22 21:49 
GeneralRe: Using modules in a regular PHP Web Application - function is undefined Pin
jkirkerx10-Feb-22 5:00
professionaljkirkerx10-Feb-22 5:00 
GeneralRe: Using modules in a regular PHP Web Application - function is undefined Pin
jkirkerx10-Feb-22 10:52
professionaljkirkerx10-Feb-22 10:52 
QuestionModules and scripts, common modules and scripts, just want to call some functions from a common external script, sort of ES6 Pin
jkirkerx28-Jan-22 10:29
professionaljkirkerx28-Jan-22 10:29 
AnswerRe: Modules and scripts, common modules and scripts, just want to call some functions from a common external script, sort of ES6 Pin
jkirkerx28-Jan-22 10:52
professionaljkirkerx28-Jan-22 10:52 
QuestionArea of ​​a 2d room Pin
Member 1550401118-Jan-22 1:29
MemberMember 1550401118-Jan-22 1:29 
SuggestionRe: Area of ​​a 2d room Pin
Richard MacCutchan18-Jan-22 1:37
mveRichard MacCutchan18-Jan-22 1:37 
QuestionHow to solve this in js Pin
Miraz Uddin17-Jan-22 18:57
MemberMiraz Uddin17-Jan-22 18:57 
AnswerRe: How to solve this in js Pin
Richard Deeming17-Jan-22 21:34
mveRichard Deeming17-Jan-22 21:34 
QuestionHow to solve this in js Pin
Miraz Uddin17-Jan-22 18:53
MemberMiraz Uddin17-Jan-22 18:53 
AnswerRe: How to solve this in js Pin
Richard Deeming17-Jan-22 21:34
mveRichard Deeming17-Jan-22 21:34 
GeneralString Pin
SHAFI CANVASS6-Jan-22 12:40
MemberSHAFI CANVASS6-Jan-22 12:40 
GeneralRe: String Pin
RedDk6-Jan-22 13:07
MemberRedDk6-Jan-22 13:07 
GeneralRe: String Pin
jhonaa11-Jan-22 21:24
Memberjhonaa11-Jan-22 21:24 
QuestionReplecing .data() jQuery with JavaScript Pin
Member 154605438-Dec-21 9:46
MemberMember 154605438-Dec-21 9:46 
AnswerRe: Replecing .data() jQuery with JavaScript Pin
Richard Deeming8-Dec-21 22:12
mveRichard Deeming8-Dec-21 22:12 
QuestionCan't figure out why I'm not able to access my projects array within my JSON object Pin
jkirkerx23-Nov-21 13:20
professionaljkirkerx23-Nov-21 13:20 
AnswerRe: Can't figure out why I'm not able to access my projects array within my JSON object Pin
Richard Deeming23-Nov-21 21:31
mveRichard Deeming23-Nov-21 21:31 
GeneralRe: Can't figure out why I'm not able to access my projects array within my JSON object Pin
jkirkerx24-Nov-21 9:24
professionaljkirkerx24-Nov-21 9:24 
I didn't think of that. To me it's weird until I fully understand. I figured it would be a straight object, and the projects would be the array. I wonder if it has to do with how I packaged the JSON.

I can loop the projects now. Wonder if find and indexOf will work now.

Thanks

[{
"partId": "REF_EL_003",
"vendorId": "7",
"projects": [{
"projectNumber": "4725",
"projectStage": "construction",
"projectVersion": 7,
"projectCreated": "2019-02-05",
"projectCustomerName": "XXX - Debbie",
"projectOriginalActualCost": 89912.66,
"projectNewActualCost": 89912.66,
"projectCostDifference": 0,
"taskId": "XK_EL_022",
"partId": "REF_EL_003"
}, {
"projectNumber": "4736",
"projectStage": "construction",
"projectVersion": 2,
"projectCreated": "2019-03-05",
"projectCustomerName": "XXX and Brian",
"projectOriginalActualCost": 53866.232,
"projectNewActualCost": 53866.232,
"projectCostDifference": 0,
"taskId": "XX_EL_022",
"partId": "XXX_EL_003"
}, {
"projectNumber": "4756",
"projectStage": "construction",
"projectVersion": 3,
"projectCreated": "2019-04-23",
"projectCustomerName": "XXX & Elizabeth",
"projectOriginalActualCost": 61620.74,
"projectNewActualCost": 61620.73999999999,
"projectCostDifference": -7.275957614183426e-12,
"taskId": "XX_EL_022",
"partId": "XX_EL_003"
},
If it ain't broke don't fix it
Discover my world at jkirkerx.com

GeneralRe: Can't figure out why I'm not able to access my projects array within my JSON object Pin
Richard Deeming24-Nov-21 21:33
mveRichard Deeming24-Nov-21 21:33 
GeneralRe: Can't figure out why I'm not able to access my projects array within my JSON object Pin
jkirkerx25-Nov-21 7:37
professionaljkirkerx25-Nov-21 7:37 
Questionwait for fetch to finish within a for each loop Pin
jkirkerx16-Nov-21 13:35
professionaljkirkerx16-Nov-21 13:35 
AnswerRe: wait for fetch to finish within a for each loop Pin
Richard Deeming16-Nov-21 22:49
mveRichard Deeming16-Nov-21 22:49 
GeneralRe: wait for fetch to finish within a for each loop Pin
jkirkerx17-Nov-21 5:52
professionaljkirkerx17-Nov-21 5:52 

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.