920 Topics

Member Avatar for
Member Avatar for himanshu.1691

i tried to mimic the code of a tutorial for a live updatable table....dat is connected to the MYSQL server .... i copied it and edited it a bit...but its not working... i was not able to understand the code so dont knw where the problem is here is the …

Member Avatar for nikkitata
1
1K
Member Avatar for junaid_5

First drop down menu to auto change the options of a second dropdown, when you select 2nd it changes the 3rd . <select name="types"> <option value="">---- Select job ----</option> <option value="1">Job1</option> <option value="2" >Job2</option> <option value="3">Job3</option> </select> <select name="gender" > <option value="" >---- Select Gender----</option> <option value="male" selected>Male</option> <option value="female">Female</option> …

Member Avatar for tapananand
0
540
Member Avatar for dhani09

I'm working on a website with a sign-up form. I've been able to perform validation without page reload, printing appropriate error messages.However i'm trying to implement an interface i've seen on a couple of websites, where a user is guided to fill certain fields like password that come with restrictions, …

Member Avatar for dhani09
0
162
Member Avatar for cilla

[www.unitedinblue.com](http://www.unitedinblue.com) There's a lot of JS and ajax and extra scripts and things (far as I can tell at a first look) on this website, some of which don't even seem to serve any purpose. If you look in the source (via Inspect Element, not actually viewing the page source, …

0
179
Member Avatar for gotboots

Hi all, I have recently made a ajax script that works completely. It updates the database as required on click of the FU anchor. In the middle of the form I also have a yes | no option that copies the billing address to the shipping address, which also works. …

Member Avatar for Ralf_1
0
16K
Member Avatar for sushmaja.arumalla.9

I have 8 ajax tabcontainers in my page.On the top of the page I have one button "Collapse All".When I click on the button all the tabcontainers should be collapsed. Please help me how to achieve this functionality.

Member Avatar for taersious
0
144
Member Avatar for dhani09

I have an HTML dropdown list which i'm populating from a database. My question is how can i retrieve the value of a selected item from this dropdown list using AJAX? Thanks in advance.

Member Avatar for dnyaneshk2
0
6K
Member Avatar for carl.potak

Hey I'm new to the website but I've been a friend of Dani for a little over a year and attend the DaniWeb meetups. I know I'll need coding help and as a noob I'll be seeking out the help of you experts in javascript w/ jquery & ajax, php, …

Member Avatar for happygeek
0
271
Member Avatar for diafol

**// EDIT 2014-04-07 //** New version (1.0.3) posted at the [bottom](http://www.daniweb.com/web-development/php/code/476623/ajaxed-linked-dropdowns-select-fields-for-volatile-data#post2082327) Demo Page: http://demos.diafol.org/ajax-linked-dropdowns.php *********************************************** Hello All. Been playing around with more linked dropdowns (select form fields), following the code snippet posted for static-ish data [here](http://www.daniweb.com/web-development/php/code/475238/linked-dropdowns-select-fields-for-static-ish-data). The static-ish version is of limited use (or of no use!) if data in …

Member Avatar for diafol
3
1K
Member Avatar for dhruvarora227

This was an existing script written in PHP and Jquery, basically, what it does is the calculations of price and quantity for a Point of sale system. I made a few changes so that the end-user can enter the price, as they enter the quantity amount. Now, after I made …

0
98
Member Avatar for tronghiep92

I problem AJAX jquery. How block run AJAX from console.log EX test on localhost: **file index.html:** <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> <script> $(document).ready(function(){ var btn = $('button'); btn.on('click', function(){ $.ajax({ url : 'process.php', type : 'post', data : {id : 1}, success: function(data){ console.log(data); } }); }); }); </script> </head> <body> <button>CLick</button> </body> …

0
69
Member Avatar for junaid_5

Hello i am creating a small project. is there any tutorial that could help me . i have image gallery. it has main categories and then sub categories , i want to upload the images to respective sub category under main category after choosing categ and sub categ from list …

Member Avatar for junaid_5
0
197
Member Avatar for Mr.Pink

I have this code which loads 10 divs from an external file into the main file. There's also a next / previous function to skip back and fourth between the divs. Demo: http://goo.gl/RFBN2E (Click load content to load the content via ajax, then the next / previous buttons will skip …

0
159
Member Avatar for danarashad

I am using an ajax to load form fields. When the you select the school, the grade fields load. When you select the grade, the show name check box appears. When the select all box appears, I have to click the select all box twice for it to work. I …

0
189
Member Avatar for goutham.tandra

Hi! Need to refresh only div for cetrain time without loading any external content into that div.. Can you help me please??

Member Avatar for designershiv
0
760
Member Avatar for chris.immanuel

Hi I have a question with my code. I implemented drop down list populated from my oracle DB. So my question is, I need to populate the rest of the data into my <input type="number" min="currCutting" max="currQty" /> tag that pulled from the database according to the Head_mark selected from …

0
154
Member Avatar for powerson65

I am trying to load different data which are all in one JSON data from a drop down menu to a div area on the web page (eg if one clicks PC on the menu then the items related to PC in the json file will load and if Wii …

Member Avatar for powerson65
0
871
Member Avatar for chris.immanuel

Hi Folks, I need help with my code. Basically I am building an inventory progress web so that it pulls the value from the dropbox, and with onChange, getting the corresponding value from the DB, Update the value and reinsert the new value to the DB using submit button. One …

Member Avatar for LesF
0
308
Member Avatar for ravi142

My Problem is How can i get(for display) image in "Chat.php" **e.g** i have get id. $new_id = $_POST['id'] Image path src got perfect My Jquery ajax function his as under function requestChat(name,id) { var img_src = $('#el').attr('src'); //path got perfect jQuery.ajax({ type: "POST", url: "chat.php", data: "name="+name+"&id="+id+"&img_src="+img_src, success: function(html) …

0
107
Member Avatar for baig772

**Problem** I need an jax pagination in YII, The problems are * its not showing the required results for the first time. ie. it is showing the complete result * When clicked on more, it again shows the complete result below that section as it is **What Needed** * i …

0
155
Member Avatar for ravi142

I have build simple chat box. One Text box -> Enter msg One button -> Submit One Textarea -> show message which enter in "Text Box" How could i do using jquery + ajax.? Give me suggestion. Thank you

Member Avatar for diafol
0
69
Member Avatar for ravi142

I am making a cms for a booking app and the admin will be able to see the number of bookings at any moment. How can I do it so that the above updates continuously with ajax...like facebook newsfeed for example. So far the only ajax I have made is …

Member Avatar for Fernando_4
0
192
Member Avatar for burhanahmed92

I am making a form which contain two input suggestion fields, 2 datepicker and three select fields. I want to make my form ajax based and show result in div when any field is changed. Just like farecompare.com I almost created a form but form start loading when i click …

Member Avatar for diafol
0
515
Member Avatar for Halnex

Hello, I'm trying to implement autocomplete on a single field "contact". This should query the "contacts" table looking for an id but displaying the firstname in the input field. This is my function inside ListingsController.php, every listing belongs to a contact and every contact belong to a listing. public function …

0
121
Member Avatar for xanawa

Hi, I am trying to call the '`getMembershipDetsPrice()`' php function in the html drop down list 'duration'. I tried to follow the W3schools tutorial but when I changed the value the html printed again. When the dropdownlist changed the value the label needs to be filled by the returned value …

0
160
Member Avatar for begueradj

Hello Since Ajax is a client side technology, why can not we see its source code by CTRL+U ? Regards

Member Avatar for JivanAmara
1
164
Member Avatar for NitsPatel

Hello, when i click on option of dropdown box they could not select any option. Its working good in all other browsers.option coming through ajax. I have a problem in dropdown select option in IE11. see attached screenshot .Please help me someone to solve my problem. Thanks & Regards Nits

0
129
Member Avatar for chris.immanuel

Hi Folks, I need help with my Project. I need to pull a value from the populated dropdown list using an ORACLE DB. When I pulled that value, I need to fill the quantity with the corresponding quantity value and show it to the user. And I also need to …

Member Avatar for Zoii
0
243
Member Avatar for Hanan_1

Hello everyone, I use the example from [Google](https://developers.google.com/maps/articles/phpsqlajax_v3) Now, I would like to know how to change center location from city to another city like this map in [example](http://http://www.enasher.com/billboards) please can you help me to know how becouse im new in google map and i have anthore question in my …

Member Avatar for Ajay Gokhale
0
379
Member Avatar for nileshbhanu

FB.api('/me', function(userInfo) { console.log(userInfo.email); var emailid = userInfo.email; console.log(emailid); }) $.ajax({ url: 'index.php?r=tryon/saveemailid', type:'post', data:{'saveemail':emailid}, success : function(data){ alert("success!"); } });

Member Avatar for nileshbhanu
0
332

The End.