920 Topics

Member Avatar for
Member Avatar for AARTI SHRIVAS

<?php $con=mysqli_connect('localhost','root','password','swati'); $sql1="SELECT * FROM `country`"; ?> <html> <head> <script> function val() { var name=document.getElementById("name").value; var add=document.getElementById("add").value; var email=document.getElementById("email").value; var chk1=document.getElementById("c1").checked; //var chk2=document.getElementById("c").checked; //var chk3=document.getElementById("c3").checked; //var gen=document.getElementById("gender").checked; var gen1=document.getElementById("gender1").checked; if(name=="" || name==null) { alert("name can not be blank"); return false; } if(add=="" || add==null) { alert("address can not be blank"); …

Member Avatar for eyasin
0
239
Member Avatar for old_apache

for example: current url : localhost/website becoming : localhost/website/product without refreshing. Thanks in advance

Member Avatar for harsh9
0
330
Member Avatar for sugumarclick

Basically I'm having three text input. First is autocomplete (book name). Second is book price and third is book author. Please help me in changing the 2nd and third input text box values according to the selection of autocomplete input box. Fiddle setup is at http://jsfiddle.net/premgowda/UC74L/6/ Json code below from …

Member Avatar for noelthefish
0
557
Member Avatar for accra

i have this ajax script <script type="text/javascript"> var url = "GetAutoData.php?svreg="; // The server-side script function handleHttpResponse() { if (http.readyState == 4) { if(http.status==200) { var results=http.responseText; document.getElementById('divAutoInfo').innerHTML = results; } } } function requestAutoInfo() { var svreg = document.getElementById("getautomobile").value; http.open("GET", url + escape(svreg), true); http.onreadystatechange = handleHttpResponse; http.send(null); } …

Member Avatar for gabrielcastillo
0
222
Member Avatar for accra

Hi all, I have this ajax script that accepts only one value at a time. I want to send more than one value to mysql for processing... but am not so good with javascript, pls point me in the right way....thanks // auto select vehicle # and fleet # <script> …

Member Avatar for accra
0
406
Member Avatar for ehpratah

Good Day Guys So im having this issue with this site that i develop which is running 24/7 that eats a huge amount of bandwidth every time the page reload every 10sec using META TAG that is affecting our operations specifically our net connection. What i wanna know is if …

Member Avatar for ehpratah
0
357
Member Avatar for grafic.web

Hi, i applyed an CalendarExtender to my text box, this is the code : <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:CalendarExtender ID="TextBox1_CalendarExtender" runat="server" Enabled="True" TargetControlID="TextBox1"> </asp:CalendarExtender> </div> </form> </body> </html> but when i run it, i get this …

Member Avatar for grafic.web
0
740
Member Avatar for yaragalla_mural

Normally when we use post method with forms, the requests are geting cached. I mean when we use the back button to visit the previous page the request is not being sent to the server to display the previous form. It just loads the form from the cache and loads …

Member Avatar for yaragalla_mural
0
219
Member Avatar for hasan101002
Member Avatar for anandatheerthan

Experts, Please forgive me if this is a dumb question. 1)I am developing an application that needs data to be displayed in a grid format. 2)I need the ability to edit multiple records inline 3) I need the ability to use custom validations on rows being edited. 4)I am not …

Member Avatar for urtrivedi
0
263
Member Avatar for innocentgee

Hi Guys, Newbie here... Am looking forward to populate a list from a dropdown list into a multiselect list. Any idea now how am gonna get it done? Thanks...

Member Avatar for innocentgee
0
74
Member Avatar for Indians

i want if user select one value in combo box that value should store in db and then display what they are selected. for example if user select CONFIRM option that value stored in db after that it display CONFIRM instead of that combo box form and button. Here i …

Member Avatar for hag++
0
3K
Member Avatar for grafic.web

Hi there, my simple page in asp.net with ajax does not work... and i don't understand why... I have a button where i applied an ConfirmButtonExtender I have a textbox where i applied an calendarextender but if i run the page this simple ajax does not work... I guess i …

Member Avatar for BMXDad
0
254
Member Avatar for yaragalla_mural

By the following code i got image as the responce. if (http.readyState == 4 && http.status == 200) { ver image=http.responseText; } actually when i gave a call to server using ajax the server responded with an image. so now i have stored the image in a variable "image". I …

Member Avatar for yaragalla_mural
0
274
Member Avatar for weeraa

I'm developing a web appication using ASP.NET and VB.NET. In my application im using ajax control tool kit. this is what happned to me... I load data to my AJAX combo box. But when it dropped down, there is a gap between combo box and dropped down list. I search …

Member Avatar for JorgeM
0
947
Member Avatar for boney

Hello, My HTML+JS : <head> <script type="text/javascript"> function passList() { var p=[]; $('input.first').each( function() { if($(this).attr('checked')) { p.push($(this).attr('rel')); } } ); $.ajax( { url:'process.php', type:'POST', data: {list:p}, success: function(res) { $("#result").html(res); } }); } function passType() { var q=[]; $('input.second').each( function() { if($(this).attr('checked')) { q.push($(this).attr('rel')); } } ); $.ajax( { …

Member Avatar for boney
0
225
Member Avatar for ObSys

I am looking into blogging technology, specifically using XML files to hold blog posts and reading them into a webpage using Javascript. I have been looking at the w3schools website for bits of code but for some reason my application does not display the content on the screen. My code …

Member Avatar for JorgeM
0
497
Member Avatar for hemanshurpatel

Hi there, I am working on a chart generator application and I'm using google chat as a chart tool. You have to pass different parameters to chart script that you want to show on chart. I want those parameters to be dynamically change. Say there are 20 different parametes showed …

Member Avatar for hemanshurpatel
0
165
Member Avatar for saadi06

Hi, I am using jquery tabs for displaying data.And while displaying the data in the tabs I have to use ajax again to display data. The data in the first tab is giving the desired result. But when I click on the second tab. The tab is loaded correctly. But …

Member Avatar for LastMitch
0
239
Member Avatar for siddharth_3

I'm trying to build google+ sign in feature. I'm able to get all the user data from google+, how can i insert this data into database? I know js is client-side language and it is needed to be done on server side....... my code: <span id="signinButton"> <span class="g-signin" data-callback="signinCallback" data-clientid="My-client-id" …

Member Avatar for bradly.spicer
0
334
Member Avatar for pwolf

If you were to build a fairly complicated website, and you wanted to add features like instant messaging (one to one and multi-chat like a chat room, and possibly if the site becomes profitable enough, voice/video chatting) and you wanted to be able to store these chat sessions, would it …

Member Avatar for noelthefish
0
290
Member Avatar for Steviebone

I am using XMLHttpRequest as a simple one way ajax logging function. No server response is needed. The request does not cross domains. This code works as expected in IE and in Firefox var client2 = new XMLHttpRequest(); client2.open("GET", "program?url=c",true); client2.send(); alert('sent'); return true; however, as soon as I remove …

Member Avatar for pritaeas
0
339
Member Avatar for momonq1990

hello boss! can any one help me to do this. :S my .ajaxForm() code is working but i want to have validation first for the field before ajax start to work. here's my code: my script: <script> $(document).ready(function() { $('#myForm').validate({ rules: { newsletter: { required: true, email: true} } }); …

Member Avatar for pixelsoul
0
241
Member Avatar for calebcook

I am using the [jQuery File Upload plugin by Blueimp](http://blueimp.github.io/jQuery-File-Upload/) to upload images to a server. The problem is, the sending server is `admin.example.com`, and the receiving server where the images are stored is on `www.example.com`. Same domain, different subdomain. I followed the [instructions here on setting up cross-domain uploads](https://github.com/blueimp/jQuery-File-Upload/wiki/Cross-domain-uploads#cross-site-xmlhttprequest-file-uploads), …

Member Avatar for calebcook
0
2K
Member Avatar for jannat1

I am trying to populate dropdown list according to other dropdown list using ajax prototype.js framework.But its seems ajax observField function is not picking the change in first dropdown list . I have two tables named mobiles and moddels moddels table has an coloumn mobile_id for association. my models are …

Member Avatar for LastMitch
1
381
Member Avatar for joshmac

I am not a jquery guru in any sense, so I am seeking some help with the below code. What I am trying to do, is populate two input fields, based on what is selected from a dropdown field via a database call. When I select a term from the …

Member Avatar for joshmac
0
969
Member Avatar for NettSite

I am trying to put together a web interface for a process which downloads a number of XML files and then processes them. I am usimg JavaScript / jQuery / AJAX to initiate the process on the server, one file at a time, and to display progress information after each …

Member Avatar for gon1387
0
4K
Member Avatar for AleXHB

Hello, I found a tutorial and im looking to create my own website like pandora in html5 or ajax for my country (or at least that's my plan). The tutorial explains almost everything except 3 things: how to make the songs to not repeat if they have already been played, …

Member Avatar for Troy III
0
401
Member Avatar for riahc3

stupidajax: function() { var varpas=$j('#somediv',window.parent.document).text(); varpas.replace(/\s/g, ""); $j.ajax({ // Start AJAX function url: 'mysqlcall.php', //script async: false, data: "parameter1="+varpas, //you can insert url argumnets here to pass to api.php //for example "id=5&parent=6" dataType: 'json', //data format success: function(data) //on recieve of reply { //start success function var selecthtml='Things: <select name="d" …

Member Avatar for riahc3
0
329
Member Avatar for atiqur_29

im very newbie in both php and ajax & i was trying to create a form where if i insert the contact id then the rest of the form field will automatically filled by retriving data from database. to get help from a tuitorial, this what i already done but …

Member Avatar for minitauros
0
2K

The End.