920 Topics

Member Avatar for
Member Avatar for Nabaneeta

I have two dropdwon box. First box has names of the states. Choosing a state will populate the second dropdown box that contains cities of that selected state. For all states city names are stored in mysql database table. now I am little confussed how to model the table and …

Member Avatar for diafol
0
361
Member Avatar for aki2all

<?php include 'functions.php'; if(!loggedin()) { header("Location: index.html"); exit(); } $session = $_SESSION['empno']; $dbName = mysql_query("SELECT ename FROM employee WHERE empno = '$session'") or die(mysql_error()); $nameResult = mysql_fetch_array($dbName); $name = $nameResult['ename']; $reqno = $_GET['id']; //echo $reqno; exit; $amtApproved = $_GET['amtApproved']; $query = mysql_query("SELECT * FROM requisition WHERE reqno = '$reqno'") or …

0
110
Member Avatar for cgull

Hello, I have a problem with an Ajax call on IE9. I have searched the internet and this forum for solutions for a few hours and can't find an answer. I have a coffee roastery site (developed with Codeigniter), where the users can order coffee bags online. The user selects …

Member Avatar for cgull
0
828
Member Avatar for emtw

Hi, I've been working with Ruby on Rails to make a web application, but I've found something that I really cannot work out how to do with it, so it may be best if I do it manually. Basically, I've got a dropdown menu, that is populated with a list …

0
103
Member Avatar for ttback

I am trying to experiment with HTML5+Ajax client with a Java SOAP web service on the server end. I know that Ajax can use SOAP web service and it is not difficult. What about using Web Service through HTML5 Web Socket? I haven't found much about using a SOAP service …

Member Avatar for geg2024
0
61
Member Avatar for glycerine

Hey guys im creating a weapon comparison script for the new game the secret world. A excel spreadsheet has already been created to do this (attached)(i have permission to replicate) but I wanted to give it ago via a php script. See what I currently have attached. What I need …

Member Avatar for glycerine
0
107
Member Avatar for adige72

I have an input text and want it to suggest **custom taxonomy terms** as soon as i type on it. These codes below i found after some googling, gives the idea about how to use autocomplete method in WP but i can't figure out how to achieve custom taxonomy terms …

Member Avatar for blocblue
0
1K
Member Avatar for Aleroth

Hi there, I have a Country/City list in my SQL database and access it with PHP using a select element in php. I use the Chosen Jquery Plugin for the styling of these select elements. Now my problem is that i want only the cities of the country selected to …

0
132
Member Avatar for cgull

Hello, I am trying to create dynamic dropdown lists with PHP MySQL and AJAX. When a user selects a category from the first dropdown, the subcategory dropdown should populate with all the sub categories that belong to the selected category. I am using Fuel CMS as my framework. In my …

0
90
Member Avatar for garyrichard

I want to load three list boxes where 2nd list box is loaded on the basis of selection of 1st list box and 3rd list box is loaded on the basis of selection of 2nd list box.. .

Member Avatar for veedeoo
0
566
Member Avatar for ettypaldos

I would like to alter the example provided [URL="http://www.w3schools.com/php/php_ajax_database.asp"]here [/URL]so that there is a second dropdown input for 'Male/Female'. I know the example itself does not provide a 'Sex' field in the MySQL db, but let's just pretend it does. Furthermore, assume we have a new in out select for …

Member Avatar for johns1982
0
5K
Member Avatar for rayidi

# How to access $_SESSION in jQuery ? # I'm developing a existing chat using jQuery with PHP. here is the code function createChatBox(chatboxtitle,minimizeChatBox) { if ($("#chatbox_"+chatboxtitle).length > 0) { if ($("#chatbox_"+chatboxtitle).css('display') == 'none') { $("#chatbox_"+chatboxtitle).css('display','block'); restructureChatBoxes(); } $("#chatbox_"+chatboxtitle+" .chatboxtextarea").focus(); return; } $(" <div />" ).attr("id","chatbox_"+chatboxtitle) .addClass("chatbox") .html('<div class="chatboxhead"><div class="chatboxtitle"><a …

Member Avatar for pritaeas
0
214
Member Avatar for Annuscha

Hi, I'm very new to javascript, if someone could help me I would really appreciate it. I'm adding this floatable jquery menu to my site [jquery-floating-menu](http://manos.malihu.gr/jquery-floating-menu). What I'm trying to do is get the menu to expand when clicked. I have tried to add .click instead of .hover but it …

Member Avatar for TrustyTony
0
212
Member Avatar for vindom

Hi! I have a form (which is in html(the rest of my coding done in PHP)) that prompts user to choose image, type in title and choose status and after pressing confirm button script uploads image and its details to MySQL database. I'm trying to fade whole screen or disable …

Member Avatar for vindom
0
306
Member Avatar for evalina1987g

Hello everybody, am a bit new here. My first question is, if I am on the right place here? I feel like been in the wrong place. Am looking for some forum where I can ask or finde about "General questions" I have about AJAX sometimes. Am not sure, if …

Member Avatar for code739
0
90
Member Avatar for frostymoon37

# How do i do a previous and next buttons with ajax and get different results on same page? # Im fairly new to coding so i need some help. im trying to build a web site for geology ( rocks, etc). My concept is this. How do i use …

0
146
Member Avatar for bilal_fazlani

I using listview on an asp.net form.. It has item template and edit template... I want to add ajax slider in both the templates.. I just used on script manager as suggested my many people,, but for reason i can only see one single slider in the top row.. and …

Member Avatar for bilal_fazlani
0
325
Member Avatar for Ralphael

I want my code yo retreive an xml file and display it as an options list under a select object but the code in google chrome is giving this error "Uncaught TypeError: Cannot read property '0' of undefined" and i dont know what to do about it please can someone …

Member Avatar for Ralphael
0
121
Member Avatar for patk570

I am trying to append the code to display the results of the database by including a link, I got the link to work, but it will not display the results when clicked. Below is the code, If you can help me that would be great! Thanks <?php //if we …

Member Avatar for patk570
0
152
Member Avatar for ak47carbon

on body load it is getting value of function tryt2(l) but iwant that on body load it get both function value and onclick i want to play animation.gif while getting data from 001.php but after getting data img will be removed plz tell me ASAP <html> <head> <script type="text/javascript"> var …

Member Avatar for ak47carbon
0
171
Member Avatar for ZeroZen

Hello Daniweb! I'm an amateur programmer who's learned quite a bit from online references, and usually searching eventually reveals the problem but I'm stuck! I've overcome many obstacles when creating a custom button on the Ajax Editor control, namespace issues, registring the controls properly etc. I resist the temptation to …

Member Avatar for hericles
0
204
Member Avatar for ZeroZen

Hello Daniweb! I'm an amateur programmer who's learned quite a bit from online references, and usually searching eventually reveals the problem but I'm stuck! I've overcome many obstacles when creating a custom button on the Ajax Editor control, namespace issues, registring the controls properly etc. I resist the temptation to …

0
123
Member Avatar for Valten1992

I'm currently adding a dashboard-like view to my web project, which polls data from OIDs using SNMP. My current step is to use AJAX to reload the page but I'm running into some design issues on that front. Accessing the servlet class on the server will generate hello.jsp, which displays …

0
125
Member Avatar for gabrielcastillo

Hello, Im having issue's with this jquery code for enabling and disabling select/input box's. I have been googing everything but can not find a solution. Any help would be appreciated. Thanks <?php session_start(); require_once 'includes/ncjhs_summerschool.php'; foreach($_POST as $key => $value ) { if( in_array($key,$CAPTURE_FIELDS) ) { $_SESSION[$key] = $value; } …

0
79
Member Avatar for Bugaya

I am trying to use JQuery Full Calendar along with Spring MVC. I have made a demo like [that][1]. Target: I need to send the UPDATED calendar's data,after I enter my events, to the controller to handle it. Issue: I've succeded to re-send the calendar I've inistialzed to the controller. …

Member Avatar for Bugaya
0
198
Member Avatar for lilleskut

Please apologize my ignorance, I am very new to this. So I have some code and am doing AJAX refreshes of some text on the page which works fine. Now I want to refresh things which are more complicated than just a text string, such as a button which is …

Member Avatar for pritaeas
0
207
Member Avatar for the_demon75

Hello. I am not an expert and just know some basic HTML. I am trying to help a friend with a website. On the top there is supposed to be a table with two columns. The left column is a bigger area where I'd like to lead content. The right …

0
61
Member Avatar for MrCapuchino

Hello, Something really weird started happening in my web application. I have some buttons defined in a Master Page File and then I have a lot of pages that derive from this Master Page file. One of the buttons (In the master page file) closes the user session. This means …

Member Avatar for MrCapuchino
0
239
Member Avatar for srinidelite

Hello, Here is my Project i need to show the Model Popup (Gridview) ... I found My code is Correct , But i don't Understand That why is not showing while run time.. here is the Desgin Code... Please Let Me tel What the mistake i've committed over here .. …

0
81
Member Avatar for simplypixie

I am using jQuery and Ajax to add items to a shopping cart and in all areas of the site apart from one it works fine and I cannot for the life of me work out why this one area isn't working. The form code (which is the same as …

Member Avatar for simplypixie
0
199

The End.