15,121 Topics

Member Avatar for
Member Avatar for SimonIoa

Hello i want to sort the returning data from my MySql database. i want to sort them by their type (1,2,3) This is what i ve done so far. PHP works fine returns all records $somevariable represents the AND to sort the records function all() { $type = $data->type; if($type …

Member Avatar for Bachu
0
290
Member Avatar for James_63

I got two dropdowns in each product in my cart. When i select my both option my class on success is not updating the cost. It only updates when i refresh the page, i dont want to refresh my page to get the cost. this is my script... $(document).ready(function() { …

0
212
Member Avatar for Dat One Lefty

I currently have the code function httpGet(theUrl) { var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { return this.responseText; } }; xhttp.open("GET", theUrl, true); xhttp.send(); } when i replace return with code to set a div, it replaces, but when I …

0
107
Member Avatar for rjusman90

I am quite new to JS and AJAX and I am having a hard time understanding what the other person has implemented and how I can get it to function properly. this is my login CI code that is working perfectly, but now i want to do it with ajax …

Member Avatar for rjusman90
0
238
Member Avatar for koneill

All, I have a odd scenerio which I'm looking to resolve - what is the best way in CGI/PERL to detect the referring page - as depending on if the referring page is from http://www.mysites.com/wholesale - I need to display a button on the page that when clicked will be …

Member Avatar for koneill
0
427
Member Avatar for _1_14

** edit http post i need to remove courses stored in ids variable note i need remove courses selected not edit** in jquery i store values of removed courses in ids variable suppose i removed photoshop and flash it will store value of 3,4 in ids variable below code when …

0
156
Member Avatar for James_62

I have two dropdowns where ajax gets the value from it and send to my page calculates.php and then i will get a result based on both dropdown selection. But its not working well. The problem is that im getting a error that is saying **Notice: Undefined index: icms in …

Member Avatar for ryantroop
0
1K
Member Avatar for Rishi_3

I'm trying to get the text value from a select dropdown menu that is populated by a database using the following function: <?php function searchintspokenlang() { require ('../../../connect_db.php'); $queryintspoken="SELECT Language FROM languages"; $result=mysqli_query($dbc, $queryintspoken); while ($row = mysqli_fetch_array($result)) { echo "<option value='" . $row['Language'] . "'>" . $row['Language'] . "</option>"; …

Member Avatar for James_62
0
366
Member Avatar for koneill

All, I have a .mov file and am wondering what is the best way to have this autoplay so that users don't have to hit the play button while viewing on a IPhone device. I tried utilizing the ac_quicktime.js script as such (I went to the ac_quicktime.js - a few …

Member Avatar for rproffitt
0
609
Member Avatar for James_62

Guys i'm trying to get data joined from two tables. I have a select options dropdowns with Fabrics names the other has sizes. I am wondering how i will make my dropdown changes the values for each fabric in each size and multiply for the amount of fabric selected. this …

0
141
Member Avatar for Zagor_1

I edit [this][1] todo app and make a multiple topics version of it. Like todos for X, todos for Y, todos for Z... However i couldn't find a proper way to edit this part : app.param('task_id',function(req,res,next,taskId){ req.db.tasks.findById(taskId,function(error,task){ if(error) return next(error); if(!task) return next(new Error('Task is not found')); //if there's data, …

Member Avatar for rproffitt
0
222
Member Avatar for hrushi9

I have created template for user to user chat module. Need help to complete realtime chat. Need some validations like highlight chat window on message received if it is inactive. `to_id` is collected in script (`var userid`). how to collect `from_id` , if user is logged in via php. currently …

Member Avatar for jkon
0
3K
Member Avatar for Mario A._1

I´m in disgrace with the framework Codeigniter version 2.2.0, it only displays the json response, no errors, no chart... Code **Model** function get_pata() { $this->db->select('theyear, cantidad_alumnos, rawkw, rawkwxgei'); $this->db->from('pdc_factor_gei'); $query = $this->db->get(); return $query->result(); } **Controller to handle data from Model and display in view;** function data_fik() { $data = …

Member Avatar for Mario A._1
0
371
Member Avatar for mblan180131

So I'm making an OS in javascript/html. I made the login screen (although it's as secure as a calculator, it looks quite nice). I made the Operating System Interface using a little JavaScript and CSS, and put an iframe in the window. However, whenever I load the interface, it looks …

Member Avatar for Matt_17
0
444
Member Avatar for hrushi9

Working on law firm website. Different Lawyers have assigned different cases ( in same law firm). For that purpose it needs Family Tree implementation to collect clients history. There is main table `persons` personID primary key AUTO INCREMENT firstName lastName sex birthDate birthPlace deathDate deathPlace parents, spouse, childre all are …

Member Avatar for rproffitt
0
2K
Member Avatar for Rahul_56

I have problem while calling jquery functions it generates double output while when we do highlight questions and crossout on html content sometimes highlight and crossout also not working with selecting using Ctrl+A or select all. highlight and crossout values i am storing to database so, we can remain next …

0
226
Member Avatar for INSPIREDNZ

I need to create a form with five dropdown select lists. Making a selection in any list will cause the other lists to repopulate. It's fine if the page refreshes in order to repopulate the lists, although eventually I'd love to have it happen dynamically (using Ajax or JQerry). The …

0
152
Member Avatar for Sylvia_3

I have this code and need to have it on a table but the table is not creating. What am I doing wrong? <!DOCTYPE html> <html> <body> <script> var investment = 2000; var interest_rate = .12; var deposit_amount = 100; var start_age = 44; var end_age = 65; var beg_balance …

Member Avatar for Sylvia_3
0
272
Member Avatar for Himanshu Chawla

i am implementing dropdown menu in html on hover by using CSS . But the problem arises when i implement it in My Already developed template . I am not getting where it is getting wrong . I have set visibility:hidden and visibility:visible on hover but it is still visible. …

Member Avatar for gentlemedia
0
589
Member Avatar for Azer_1

Hi all, I have made simple slide that slides block from the left to the right. I used requestAnimationFrame for repated tasks. It works. But one problem is that when blocks are moving sometimes freeze and i saw that sliding is not smooth. Where i made mistake in my code? …

Member Avatar for gentlemedia
0
180
Member Avatar for Aarav

Hi, I am a developer. I have been searching for best suited web development forums which provide helpful information on web development, so that I can get help from their active members for learning the Captcha Implementation with Javascript which is used to protect the website from the attack and …

Member Avatar for ryantroop
0
122
Member Avatar for SimonIoa

Hello i want to return data using jquery like this function countries() { var html=''; var j=''; var encodedata=JSON.stringify({}); var url=apiBaseUrl+'api/countries'; ajaxPost(url,encodedata, function(data) { if(data.countries.length) { $.each(data.countries, function(i,data) { html= '<div class="panel panel-default">'+ '<div class="panel-heading">'+'<a href="'+data.country_id+'" class="feed-author" target="_blank">'+data.name+'</a>'+'</div>'+'</div>'; }); } }); } and this is php function countries() { try …

Member Avatar for diafol
0
241
Member Avatar for Link_1

I am using visual basic, javascript, and html. I am trying to use google hierarchy chart api. I works fine on localhost but when I try to move the same code to the server than I get the following error: Error: Object doesn't support this action <%@ Page Language="VB" AutoEventWireup="false" …

Member Avatar for Link_1
0
3K
Member Avatar for Aarav

Hey friends, I am here to share a query in javascript development forum, that how to scrap a website using nodejs which includes getting, parsing & extracting the content of a webpage . Read & share your views about scrapping the content of a website.

Member Avatar for cereal
0
88
Member Avatar for Natsu123

Hey guys, is it possible to send a HTML Mail with values via PHP? I have programmed a HTML Website with css and jscript. It is a Contact Form. When I fill in the values for the Contact Form (Surname, Name, Street etc.) and press the send button, I want …

Member Avatar for cereal
0
246
Member Avatar for _1_14

**Problem** when remove any course from table list html his position in center or first it make problem in index in database **Details** IF I have list of courses as following : Delphi Flash Photoshop IF I remove flash by JQUERY remove button then click save button it delete flash …

0
129
Member Avatar for Christina_5

I'm planning to create a web project, I'm wondering Angular 2 is stable or not. Or Should I work with Angular 1 now ? I scare that Angular 2 is not released now, it means that maybe it has a lot of issues. I really don't want to go so …

Member Avatar for Jumonji
0
270
Member Avatar for khun_1

I want to check if the username existed in my database against the input of the user after the button is clicked. If the username existed, it will show "Username Not Avaliable" in the span and the username textbox will be highlighted in red. I tried to use ajax for …

0
290
Member Avatar for Borzoi

So I'm having a huge brain fart here and I know for a fact I am going about this the wrong way. Unfortunately, I can't refer to previous work I've done where I have done this correctly as I no longer have access to them. I have my index page …

Member Avatar for Borzoi
0
293
Member Avatar for Swapnali_2

The End.