14,053 Topics

Member Avatar for
Member Avatar for Simran_14

Hello everyone! This question is related to using Sequelize with Node.js and MySQL. I have come across a small doubt and need your help. To enable CLS with Sequelize we initialize a CLS namespace using the following lines of code: ``` const cls = require('continuation-local-storage'); const namespace = cls.createNamespace('custom-sequelize-namespace'); const …

0
28
Member Avatar for davy_yg

Hello, I get this error message: syntax error, unexpected '(', expecting variable (T_VARIABLE) or '{' or '$' When running this code: ` Rp. <div id="total"></div> ``` <script> $("#total").html({<?php number_format($("#subtot").val(), 0, '', '.'); ?>}); </script> ``` ` Any idea why?

Member Avatar for Dani
1
153
Member Avatar for Trisha_5

Hello there! I am actually working on writing a blog regarding JavaScript Calendar Libraries. As here, you all are JavaScript pros, Can you guys tell, what are the points you keep in mind while selecting a JavaScript Calendar library for your project? Thanks!

Member Avatar for Dani
0
38
Member Avatar for michellepermsm

I am working for a client that uses a tag for the different manufacturers of their products. Each product will only have one manufacturer tag. On their collections page, they have a sidebar that shows all the Manufacturer names with a {{ tag | link_to_add_tag: tag }} URL. Now the …

Member Avatar for rproffitt
0
330
Member Avatar for qhayiyamc

You must write a small application in JAVA for items and their prices. Your program must: 1. Create an array of item names. Use the following item names: Bread, Milk, Butter, Chips, Honey, Soap, Towel, Carrots, Beans, Samp, Dress, Pants, Shoes, Socks. 2. Create an array of item prices. Use …

Member Avatar for Reverend Jim
0
100
Member Avatar for badmullah_1

hi I need your help if you know JS to fetch 3 values //value of JID2 input //value of slider //value of the NOTES but since JS is new to me i would need your help please. it is a form with a few controls that user can check , …

0
104
Member Avatar for lewashby

I've recently gotten my first ID job as a PHP programmer but one of the tasks that bites my is JS/jQuery, I don't know JS/jQuery but now i'm having to use it. I'm taking a course on udemy.com but I'm having issues, sometimes the code executes and sometimes noting happens …

Member Avatar for Dani
0
242
Member Avatar for Jaziel_1

I have created a form using HTML, now I won't save the input data into my browser's local storage DB. I want to same multiple inputs, not just one. how do I do it I believe I need to use javascript but I'm not strong with it and am still …

Member Avatar for π™ΉπšŠπšœπš–πš’πš—πšŽοΌˆγƒ€γƒΌγƒͺン)
1
535
Member Avatar for Vandiun

Hello, my name is V, and I'm a Prolific Java programmer with 4+ years of experience and a solid background in RESTful and JSP development. OddPointer is looking for efficient programming. In recent years, I have built an average of 10+ native Java apps per year.

Member Avatar for pritaeas
0
17
Member Avatar for Q8iEnG

Hi guys :) Is there a chance to disable these two things from my site? (View Source) and (Ctrl + C ) please, give me few minutes from your time and help, i'll be much more appreciated :) thanks in advance :)

Member Avatar for π™ΉπšŠπšœπš–πš’πš—πšŽοΌˆγƒ€γƒΌγƒͺン)
1
14K
Member Avatar for ezeiruchibuike

Hello there, I created a "users" table on MySQL and created a few columns namely "accountbalance", "ledgerbalance" and "dailybalance" (all three: BIGINTs). I created a test user and added some random figures. I am trying to retrieve the value of this columns (unique to the user) and them pasted separately …

Member Avatar for Dani
0
373
Member Avatar for Dani

I just racked my brain for the past hour trying to fix a bug, and learned something new in the process. I always thought that the jQuery function `.data('key')` was a wrapper for `.attr('data-key')`. It turns out that's not the case! Take the example: `<div data-key="foo">`: I can use `data('key', …

Member Avatar for Dani
7
264
Member Avatar for syscore
Member Avatar for Scott_AKASpanky

Hey Everybody, I'm a Directer of IT at a manufacturing company. I don't develop as much as I used to, but when I do, I need a good source of information to help me do what I need to.

Member Avatar for Dani
0
14
Member Avatar for syscore

i know i am missing something simple but i need to have My console output be displayed in a webpage with express and ejs i am getting the UDP in my Console . can anyone help me out. thank you // Javascript import express from "express"; import dgram from "dgram"; …

Member Avatar for rproffitt
0
43
Member Avatar for mekus51
Member Avatar for palash889
Member Avatar for danNy045
Member Avatar for vivan_1

I'm trying to manage Splunk with Chef and ran across a problem when using Chef to programmatically start/stop/restart the Splunkforwarder service: The request did not respond to the start or control request in a timely fashion. - ControlService: The service did not respond to the start or control request in …

3
54
Member Avatar for kpripper

Hello, how to enable alerts like assignment in conditional expression in Visual Studio Code? ![assignment_in_conditional_expression.jpg](https://static.daniweb.com/attachments/4/ea45be0a5188e47ba3b06e9b529bbb5a.jpg)

Member Avatar for rproffitt
0
18
Member Avatar for Rocky_6

I'm looking for help on CloudFormation Template for Glue Jobs orchestration for below scenario: Suppose I have 10 AWS Glue Jobs, 4 jobs should be executed parallel and 6 jobs should be executed sequentially. If any job failure, send Workflow "Failure" notification along with the failed Glue Jobname. Job1 Job2----job5-->job6-->job7 …

Member Avatar for rproffitt
0
34
Member Avatar for Mr.M

Hi DW. Does anyone know how can I clear a devtool network monitor log of a browser using javascript. I know the `console.clear()` only clear the console log not the network monitor tool logs.

Member Avatar for rproffitt
0
366
Member Avatar for RC_820

I want to make a fish shooting game, but I don't know where to start maybe here friends can give me directions please help for my learning

Member Avatar for RC_820
0
119
Member Avatar for Irfan_9

Three if condition if(isset($_POST['search']) & !empty($_POST['searchdata']) ) if(isset($_POST['search']) & !empty($_POST['searchName']) ) Else each statement have the own pagination created now confusion for example first condition is true and three page is created when i click its goes to else condition and below 10 pages is created which is true in …

Member Avatar for AdamFriska
1
119
Member Avatar for jaswwjatin

please give me information, i want new php site, my idea this type site.i want ESPNCricinfo and Cricbuzz Navigation Tabs inside my post.i am not add live match and scorecard,i want similar tabs design (News,Videos,Your opinion or more) when i add posts. RememberΒ i am not want espn or cricbuzz whole …

Member Avatar for Dani
0
36
Member Avatar for misstj555

Hello. I am working on a personal project using React. I have three checkboxes that are supposed to filter the information in the table automatically when checked off (for example, if you check off "airline1", then only airline1 and its data will populate in the table). I would like some …

0
50
Member Avatar for Arush_1
Member Avatar for larry29936

I’m using a timer script that I’d like to change the displayed text in the <p> ... </p> when the countdown ends but have no idea how to accomplish it. I’d appreciate any help I can get. Here’s the code I’m using: <p> The Update will be done in <span …

Member Avatar for larry29936
1
222
Member Avatar for KnowledgeMan

Hi everyone, I am getting an undefined array key with a session variable. The code works fine once I set the variable. Can someone please help me with that issue? Thanks <?php session_start(); $servername = "localhost"; $username = "xxx"; $password = "xx"; $database ="xx"; // Create connection $conn = mysqli_connect($servername, …

Member Avatar for pritaeas
1
4K
Member Avatar for Bidesh

The End.