15,700 Topics

Member Avatar for
Member Avatar for gahhon

I am using Netbean IDE 8.1 to build the website. I build a very simple website with simple Javascript function, window.alert(). Upon my testing, I put the button triggered function in the javascript but the function is not triggering. If I put the function under the HTML, it does triggered …

Member Avatar for gentlemedia
1
2K
Member Avatar for dwlamb

I am a novice at JavaScript an jQuery. I am writing a project and trying to incorporate $(this) to read a data attribute. Once the data attribute is determined and assigned to a variable, I intend to use that to access other form elements. Instead of reading the data attribute …

Member Avatar for Dani
1
1K
Member Avatar for davy_yg

var valtgl = $("#val-tgl").val(); var dateori = new Date(valtgl); I would like something like this: Tuesday, 2 October 2018 instead of: Tue Oct 02 2018 07:00:00 GMT+0700 (Waktu Indonesia Barat) Any clue how to?

Member Avatar for pty
0
305
Member Avatar for GenX_1

Hello All. I am new to Daniweb. I was wondersing if there are people who could help me with CouchCMS, a PHP based content management system. I am held up in an issue where I want to generate the receipts of fees being paid by the students. So by perspective …

Member Avatar for rproffitt
0
439
Member Avatar for XamiK
Member Avatar for FarrisFahad

I have jquery for my mobile website, but the problem is with iPhones. The touch event, or `onclick` event does not work on iPhones. It works on Android. Have anyone encountered the same problem? How can I fix this? Are there any work arounds? Also I am a bit confused …

Member Avatar for FarrisFahad
0
1K
Member Avatar for FarrisFahad

I am looking to develop my skills as a web developer. I want to find new challenges that can help me do that. Do you know any resources that can help?

Member Avatar for myra
0
297
Member Avatar for shivubs

hiii i need your help, i am web developer (fresher). i want display images from database/folder using ajax in codeignater. i try ur source code not working.

0
438
Member Avatar for Mo_3

Hi, I've been doing research on a career in coding/programming and now I'm very interested and motivated to learn it. I'm a complete beginner and limited financially at present. So I'm confused as to how to go about it. I love reading a lot and sitting on my laptop, so …

Member Avatar for deutnukem
2
747
Member Avatar for aspundir

function "kal" and "getsign" not functioning. function kal (ta) { var xy; var x1 ; var x2; var x3; var x4; if (xy==1) {x1=0; x2=1; x3=1; x4=1;} else if (xy==2) {x1=1; x2=0; x3=1; x4=0;} else if (xy==3) {x1=0; x2=1; x3=0; x4=1;} else if (xy==4) {x1=1; x2=1; x3=1; x4=1;} else if …

Member Avatar for AndrisP
0
193
Member Avatar for jawwad_1

I need help that how to make these assignment by html,javascript?? i have made admin and user login ..need codes for further more.. **description of assignment:** Salemanagementsystem have two panels.Admin login with specific id and Admin have rights to update product lists add, delete and update. Employees can create new …

0
339
Member Avatar for FarrisFahad

I want to protect my site from hacking. Currently I know about XSS and SQL injection. Do I need to use mysqli instead of mysql? And why? When should I use `htmlentities()` and `striptags()`? I also don't want users to upload melicious files and since I accept file uploading, is …

Member Avatar for FarrisFahad
0
861
Member Avatar for Poushali

Hi, In my application two fields are the user id and user name,i want to show the user name and user id along with other details in a html table. user id is a numeric dropdown menu and user name is text only.How can i show the specfic record in …

Member Avatar for PsychicTide
0
480
Member Avatar for seularts

I have a very standard code where I use a CRUD interface on my Database. The issue is that every attempt I made to redraw/update the table with the new data [ $('.table').DataTable().draw(); ] has failed miserably. Here is my targeted code: function manageData(key) { var name = $("#countryName"); var …

0
562
Member Avatar for Sameer_8

Hello I have java Script code was working but it crash in line 44 it says: > 437anxious.html:44 Uncaught ReferenceError: Particle is not defined at animate (anxious.html:44) My questions is " Particle is not define !! why it war defined and was working fine!! but i tried to play with …

Member Avatar for Sameer_8
0
408
Member Avatar for Jon_7

On my page https://fiftyallstars.com/50/curriculum.html , I have some basketball drills loading from a google spreadsheet of mine. Only thing is after it loads, I can't seem to get the datepicker to show today's date. My players get confused by having to select the date each time, and I'd rather it …

Member Avatar for AndrisP
0
20K
Member Avatar for Xhino_1

Hello i'm to make a vacations script calculator <div id="content"> <form class="form-container"> <input class="emri" type="text" placeholder="Name"> <input class="mbiemri" type="text" placeholder="Last Name"> <input class="Vendosni-Datelindjen" type="text" placeholder="Birthday"> <select class="drop-down-select"> <option selected="selected" value="Select Zone">Select Zone</option> <option value="Zone A">Zone A</option> <option value="Zone B">Zone B</option> </select> <select class="drop-down-select"> <option selected="selected" value="Nr of persons">Nr of persons</option> …

Member Avatar for alan.davies
0
371
Member Avatar for tun712

I’ve created animated `rect` shape with **greensock**. It's not working on jsfiddle so created on [codepen](https://codepen.io/anon/pen/PdezOj) I’ve three shapes. I need help with following, 1. make it 100% height & width of viewport 2. it stops for a while before repeating, move `rect` without any gaps 3. they bacomes one …

Member Avatar for tun712
0
577
Member Avatar for biswa2ray

hai all, i want to convert indian rupees into words, is there any function in javascript or any useful links are appreciated.. how to convert indian rupees to words for ex 234.45=Two hundred thirty four rupees and fourty five paise only. this want for any number upto billions..

Member Avatar for alan.davies
0
6K
Member Avatar for Victor_20

1) What I'm trying to do: Uploading a file with aws s3 and then taking the filename and filetype and placing it at the end of the url to save it in sql so that every time the person logs in, it will pull the picture up by user image …

0
197
Member Avatar for Herminia CS

I'm a newbie in php and I want to create a single login page for Admin and user.When admin log in it should go to an admin page and when user log it shoult go to index page.I want help with my code, it works fine login normal users but …

Member Avatar for alan.davies
1
9K
Member Avatar for tun712

Borders are animating one after one. Need help to animate all borders at same time Here is running example [jsfiddle](https://jsfiddle.net/npLsm0j2/) **CSS** * { padding: 0; margin: 0; outline: none !important; } body { background: #E0D4D4; overflow: hidden; } .borders { height: 100vh; width: 100vw; position: absolute; display: inline-block; z-index: 1; …

Member Avatar for tun712
0
781
Member Avatar for qb

I'm trying to figure out why some of the ajax tabs are not working. The first two tabs work, the third through 5th tabs do not work when you click on them.

Member Avatar for gentlemedia
0
329
Member Avatar for developer707

Hello, In my project I have a form with many inputs and one object is using DropzoneJS to attach files. Since I store all the inputs when I post the form I need somehow to read the file names of the uploaded files in my server, currently I can only …

Member Avatar for developer707
1
11K
Member Avatar for Rizwan_8

Hi 1.am able to run using XAMPP on PC. When i run from my board, am not getting proper data. I mean it is not fetching the file index_1.txt.html and index_1.txt file are available in same path in sd card. Anything wrong 2.Instead of using second argument with file name, …

Member Avatar for alan.davies
0
396
Member Avatar for Loyal

Greetings, Trying to understand how to load from a master menu (UL-LI styled) different external html files into multiple DIV s all on the same page. I have a note taking system that runs offline that uses html5 css3 and frames. It uses 2 rows and 4 columns for the …

Member Avatar for kgweb
0
2K
Member Avatar for Chris_53

I have tried my best to find an info about this on the internet, but had no luck, sadly. So I would ask here: Please take a look on this [spam link removed] Can anybody tell me please how to make the same contact form (at the bottom-right corner)?

Member Avatar for gentlemedia
0
270
Member Avatar for tun712

I need some help to add few audio effects to website. I found some examples like following, audioOn: true audio.muted = false setAudioOn true ref: "audio", attrs: { "id": "projects-audio" } }, [_c('source', { attrs: { "src": "/audio/click.mp3" } playAudio: function playAudio() { this.$parent.$refs.clickAudio.volume = 0.8; this.$parent.$refs.clickAudio.play(); }, I need …

Member Avatar for tun712
0
3K
Member Avatar for davy_yg

Hello all, I am trying to understand how to use animation.js: This is what I did: And the result is only HTML text. I expect to see : http://animejs.com/documentation/#functionBasedDuration The first animation appears. I wonder what's lacking. My link to the js is already correct: <html> <head> <script src="anime-master/anime.min.js"></script> <script> …

Member Avatar for davy_yg
0
273
Member Avatar for Mohamed_106

Can you help me to programe a window pop up in my site say in it write your email which code should i use in html and javascript

Member Avatar for pty
0
379
Member Avatar for Mohamed_106

If you viste www.topelven.com you will find a perfect website devloped but till now i can't understand what they code with css can you give me exemple

Member Avatar for Mohamed_106
0
408
Member Avatar for onetwothree

Hello The line of code below works, but I want to use a variable name for the name="1" part alert(document.querySelector('input[name="1"]:checked').value); I currently have an id (string data type) stored in a variable: currentarowID = tbl2.rows[i].id; but I can't work out how to put currentarowID inside the document.querySelector part - so …

Member Avatar for onetwothree
0
5K
Member Avatar for atie_1
Member Avatar for WebDevGuy32145

Hey everyone, I'm at a stand still at this bit of code. Ultimately, I want to "expand"/slide down a class to show the rest of the hidden content (the list items with the class of ".hide") inside of that containing div. Sliding down the prices, hr line, and the "Get …

Member Avatar for WebDevGuy32145
0
683
Member Avatar for TheVendor

Hello, I have been searching around the net looking for solutions to my problem, but none have worked. My issue is that when i redirect using: <meta http-equiv="Refresh" content="0; url=<?php echo $URL; ?>"> The hash tag part of URL gets removed by IE. So example.com/sample#foo will just load as example.com/sample. …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Ram Krishna_2

Hello friends, I want to develop a online typing tutor using codeigniter......for hindi language (typing in computer with the help of **hindi indic 3** or** hindi indic 2 typing tool**) .......i know the php and codeigniter with css.....please give me guidance to develop it......what language i need to learn.....and how …

Member Avatar for alan.davies
0
737
Member Avatar for Michael_89

Hello Guys! Please i need help with my dynamic table, everything seems to be working fine except for my onchange event for each dynamically added row, it only inserts into the first row, but when i select an option from the second added row, the feilds to be updated from …

Member Avatar for kinhkha1984
0
2K
Member Avatar for Violet_82

Hi guys, I've got an issue with my angular application, I've got a form which is meant to create a new record (object) and push this object into an array. My set up is the following: I have a book.component.ts whic contains an array of IBooks as such: books: IBook[] …

Member Avatar for JamesCherrill
0
653
Member Avatar for davy_yg

Hello, Check this out - http://loudev.com/ . I would like to add one more button called Select All to select all the email on leftside to move them to the right side. Any clue how to? Thanks in advance.

Member Avatar for pty
0
303
Member Avatar for Andry_1

I'm trying to make SSO like [Yandex](http://yandex.ru/) do. How achive authentication without redirect if user has been already authenticated at another service provider? I am working on SAML, but I could not achieve implementation without a redirect.

0
245
Member Avatar for nadiam

Hello, so I'm trying to create an augmented reality web based app following this tutorial : [Augmented Reality in 10 Lines of HTML](https://medium.com/arjs/augmented-reality-in-10-lines-of-html-4e193ea9fdbf) Im using xampp. The page is there but when I use the hiro image target nothing appears. My code is the same except that i changed the …

Member Avatar for JamesCherrill
0
181
Member Avatar for Sakil_2
Member Avatar for thomas_43

Hi, I am trying to move from a Xrm.Page code to pulling from a library. I want a notifiction whenever the field value is tagged as needing to be notified. right now the code that works is.... var message = "This person needs to be notified"; function SetANotification() { if …

Member Avatar for thomas_43
0
267
Member Avatar for Andrew_52

I have a table on my web page that is currently updating with random Data, see below: function changeContent(){ var i = 1; var len = numberRows; var random1 = Math.floor( Math.random() * 90 ) + 10; var random2 = Math.floor( Math.random() * 90 ) + 10; var x=document.getElementById('myTable').rows; var …

Member Avatar for ryantroop
0
590
Member Avatar for prashant_17

I have a script for product Invoice which save details of sold product, but it do not update stock quantity when any product sale. Product quantity in stock remain the same which should decrease.. here is the code to save invoice details using for each loop : <?php function saveInvoice( …

0
258
Member Avatar for kamilacbe

Hi , i have a collection of html element to render the output , and i wanna change element tag for eg h2 tag to h4 and then send to the render output markup in react js . I can do them in jquery but wanna try in reactjs .some …

Member Avatar for rproffitt
0
4K
Member Avatar for mysterious_1

Hello, I am looking for a new IDE. I am currently using netbeans to develop a website in php/mysql. I like a lot of things about netbeans, but I don't like that it doesn't come with built in compilers/debuggers. You have to manually go and add/link them on a language-by-language …

Member Avatar for mysterious_1
0
659
Member Avatar for someone5

How can I find the parent tr from the closest child tr e.g. from the second child tr, how can I get to the first parent tr? Below is the html table: <table> <tr class="menu"> <td><input type='text' class='parent' value='First Parent'></td> </tr> <tr class="submenu"> <td><input type='text' class='child' value='First Child'> </td> </tr> …

Member Avatar for hari_19
0
14K
Member Avatar for wuzere.crewzz

I found this script in internet. Is it possible using this script to get the value of dropdown for each row and put it in the textfield. For example, after add row clicked, and dropdown clicked, the value of the dropdown appears in the textfield. Here is the code: <HTML> …

Member Avatar for Phoenix_2
0
8K
Member Avatar for durgeshmandal

There is javascrit functio is calling on button click and this form get created by Iframe i just want to set link to be open in new tab or window top.location.href=queryString; return false; this is redirection link but opening is same page I want this to be open in new …

Member Avatar for ryantroop
0
185

The End.