15,120 Topics

Member Avatar for
Member Avatar for Justin Kent

hi everyone ,, i have this code below. It seems correct but there is an error. it says here that unexpected token else. function w_tax1() { var z = [0.0,1,0,833,2500,5833,11667,20833,41667]; var sme = [50,1,4167,5000,6667,10000,15833,25000,45833]; var me1s1 = [75,1,6250,7083,8750,12083,17917,27083,47917]; var me2s2 = [100,1,8333,9167,10833,14167,20000,29167,50000]; var me3s3 = [125,1,10417,11250,12917,16250,22083,31250,52083]; var me4s4 = [150,1,12500,13333,15000,18333,24167,33333,54167]; …

Member Avatar for JamesCherrill
0
619
Member Avatar for devianleong

Hi guys, I am facing a little bit problem in mobile menu design. In android is working fine but in iOS safari or chrome has the same issue where I press on the Menu and press on dropdown menu, I cannot scroll to bottom of other <li> element This is …

Member Avatar for rproffitt
0
386
Member Avatar for Owais_1

i need a help in implementing a php, javascript stop watch for 4 pages the total time for stopwatch is 30 minutes when it starts on the next page it should start from the time remaining from previous page and so forth even if it returns to the previous page …

Member Avatar for diafol
0
389
Member Avatar for gahhon

<div class="w3-content w3-section" style="max-width:500px"> <!-- Photos to shows --> <img class="mySlides w3-animate-fading" src="images/couple/Couple_1.jpg" style="width:100%"> <img class="mySlides w3-animate-fading" src="images/couple/Couple_2.jpg" style="width:100%"> </div> <script> var myIndex = 0; carousel(); function carousel() { var i; var x = document.getElementsByClassName("mySlides"); for (i = 0; i < x.length; i++) { x[i].style.display = "none"; } myIndex++; if …

Member Avatar for pixelsoul
0
482
Member Avatar for Amr_3

Greetings, I want to read on several topics related to the Web development and I hope that you can give me an advice on the best book in the range of books available for me in every topic. For sure no one read all these books to give a final …

Member Avatar for Cod_1
0
490
Member Avatar for Violet_82

Hi guys, I'm looking into the possibility of writing some javascript (or using an API of course) to be able to search a collection of PDFs and return the results in a Json format for processing (mainly displaying them back to the user). I've played around a little bit with …

Member Avatar for Mohamed_84
0
2K
Member Avatar for SimonIoa

Hello i want to make a script that allows the user to record audio from his device mic and then store it as a .mp3 or .wav file on my database. Does anyone knows any tutorials or scripts? I found this one `http://stackoverflow.com/questions/16413063/html5-record-audio-to-file` but i dont know to make it …

Member Avatar for diafol
0
14K
Member Avatar for Krunal_3

Hello, I have implemented pagination in MVC application. when first time page loads, it works properly, when I click on paging then it makes AJAX call and bind the data in my HTML table from json response. but after AJAX call, pagination is working. once AJAX call fires, then pagination …

Member Avatar for The Diamonds
0
808
Member Avatar for surprino

I have a command which I run on linux terminal like below: curl –W “Authentication: Token r4r4xxxxx” “https://api.com/v1/results?display=true&format=image/jpeg&lang=en” –o image.jpg And this command will authenticate me from the server and download the image named image.jpg to my local machine from where I am calling this command… But I am looking …

Member Avatar for cereal
0
412
Member Avatar for SeanKann

Having an issue passing info from the modal to the model so that I can do a where statement. The first line below is the link to open the modal. Works fine no issues. <td><a href="javascript:;" class="openModal" data-toggle="modal" data-target="#email_details_<?php echo $SP->fit_tv_rollout_info_id;?>"> <span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span> </a></td> <div id="email_details_<?php echo $SP->fit_tv_rollout_info_id;?>" …

Member Avatar for gottaloveit
0
286
Member Avatar for davewylie

I have been alerted o the fact that there are "security issues" with Javascript, but have no idea what the issues are. I have written a webpage in HTML which incorporates a menu written in Javascript. A user alerted me to the fact that the menu does not appear with …

Member Avatar for rproffitt
0
215
Member Avatar for momo_1

I have a form on my checkout page that redirect to the payment gateway and at same time write customer info on database, but i don't know how to pass info that customer just fill on the checkout page to the payment gateway. I use php xml for the dynamic …

Member Avatar for momo_1
0
544
Member Avatar for gahhon

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN? "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Address Book</title> <script type="text/javascript"> function addressBookItem (fname, lname, email) { this.fname = fname; this.lname = lname; this.email = email; } addressBookItem.prototype.write = function() { adrbook = "<tr><td>" + this.fname + "</td><td>" + this.lname + …

Member Avatar for gahhon
0
593
Member Avatar for Siberian

I was informed the if-statement is incorrect. I can't find the syntax error ? var curDoc = app.activeDocument; var selall = app.executeMenuCommand("selectall"); var fillrmv = curDoc.pathItems[0].filled = false; if (app.activeDocument.pathItems[0].filled = true) { for (i=0;i>fillrmv;i++) { curDoc.pathItems[0].filled = false; }; };

Member Avatar for Siberian
0
354
Member Avatar for Sylvia_4

Need Help to create **Gmail** style realtime chat app for my website. I found server for realtime chat here https://xmpp.org/software/servers.html (I will go for [ejabberd](https://www.process-one.net/en/) or [Openfire](http://igniterealtime.org/) **or** which one should I choose?) **Goals** 1. send & receive chat request 2. accept or reject request 3. show sent/pending chat request …

Member Avatar for Sylvia_4
0
337
Member Avatar for Mark_65

Hey guys I am looking for a delete javascript function that will work with this code here. I have tried a few that I have found online. They work however they only seem to delete the first row. If you add rows none of those can be deleted there after. …

Member Avatar for abubaker_2
0
522
Member Avatar for Siberian

What does it mean when you get the error; Illegal use of the resevered word; else. if(); { alert(); } else { alert(); };

Member Avatar for Siberian
0
212
Member Avatar for Phil_7

I have found a source of and aledged xml file (although it is named as solarxml.php, when I download it the data that I want is there, i.e. solarflux, aindex, kindex and sunspots, but I have no idea how to determine how to extract the 4 data fields I want, …

Member Avatar for Traevel
0
1K
Member Avatar for abubaker_2
Member Avatar for DavidB

I have been writing plain old vanilla JavaScript pages for a while, for numerical math problems. Usually, I create one page for a specific problem. For example, one page to solve a system of 3 Equations in 3 Unknowns, one page to solve a system of 4 Equations in 4 …

Member Avatar for diafol
0
189
Member Avatar for Phil_7

I have found a source of and aledged xml file (although it is named as solarxml.php, when I download it the data that I want is there, i.e. solarflux, aindex, kindex and sunspots, but I have no idea how to determine how to extract the 4 data fields I want, …

Member Avatar for Traevel
0
291
Member Avatar for Mark_65

Hey guys i'm a noob with javascript. I have two scripts that generally do the same thing but each do not properly work with my code. The first script will work with adding rows and allow me to delete them, however it will also delete the top row. This is …

0
191
Member Avatar for jeffersonalomia

How do facebook, twitter, and other social media app store the data of the user's chat history or chat log? Is it on the database or on a separated file? How can i create a professional chat application on my website?

Member Avatar for pty
1
366
Member Avatar for Rathi_1

Iam doing library project in php,mysql. Library user should have alert message for expiring their book return date. So,I need to send an auto generated notification email before 2 days to multiple person's mail address. Please help me to complete this task.

Member Avatar for diafol
0
82
Member Avatar for AleMonteiro

Hello everybody. I'm starting to build an event calendar for employees in my company, and the first thing I needed was an working calendar to build from, so I wrote a simple one. Hope it can be usefull for someone. Cheers.

Member Avatar for Mike_40
3
2K
Member Avatar for Andrea_7

Hi, I'm a graphic designer and am designing a site using Adobe Muse which creates HTML, CSS, and JavaScript. Can I export the site as HTML to a developer to integrate with Cold Fusion? There is a client login portion of the larger site created with Cold Fusion (I believe). …

Member Avatar for diafol
0
331
Member Avatar for Dark_2

Hello, I'm trying to make a soccer league standing in my schools. <html> <body onload="sortTable(8)"> <table id="myTable" style="width: 100%;"> <caption><b>GRUP E</b></caption> <tr> <th>Team</th> <th>Main</th> <th>M</th> <th>S</th> <th>K</th> <th>GS</th> <th>GA</th> <th>GD</th> <th>Pts</th> </tr> <tr> <td><b>AV</b></td> <td>1</td> <td>1</td> <td>0</td> <td>0</td> <td>5</td> <td>0</td> <td>5</td> <td>3</td> </tr> <tr> <td><b>Cos2</b></td> <td>1</td> <td>0</td> <td>0</td> <td>1</td> <td>0</td> …

Member Avatar for rproffitt
0
417
Member Avatar for Violet_82

HI guys, I seem to be having an issue declaring a json string. The original string I have is this: var jsonString = '{ "details" : [' + '{"text":"Lorem ipsum dolor sit amet, consectetur 0", "firstName":"Jack0", "surname":"Dee0", "moreInfo":"This is extra information"},' + '{"text":"Lorem ipsum dolor sit amet, consectetur 1", "firstName":"Jack1", …

Member Avatar for Violet_82
0
597
Member Avatar for samertaha

hi I'm trying to run karma test runner on angular-seed project I downloaded from git with no success always I get errors, here is the repo im using this version https://github.com/angular/angular-s...16dfcf0522ecbc I installed jasmine and karma and node.js and karma-chrome-launcher I installed all this using the npm package manager that …

Member Avatar for samertaha
0
333
Member Avatar for ersin_1

I want to create a contact manager in javascript. It will contain two initial contacts: John Smith and Jane Doe. Each contact should have a first and last name. Also user must be able to create a new contact. Contacts must be added in array. Program will be with switch …

Member Avatar for rproffitt
0
2K

The End.