920 Topics

Member Avatar for
Member Avatar for BlackKite

Hi! I can't seem to figure out what I'm doing wrong with this no matter how many things I try. I've looked through Google for a related issue but found nothing specific. Hopefully someone can help me. The script runs through a external .js file calling a list of music …

Member Avatar for BlackKite
0
203
Member Avatar for manraj82

I have got a grid[Grid1] that build its data when a button[search] is clicked, I managed to Ajaxify it by placing it in an UpdatePanel. Before Ajaxifying Grid 1, the grid used to populate another grid[Grid2] and some other controls[Text and Labels] when a row in Grid 1 was clicked …

0
130
Member Avatar for prem2

Dear team, "ajax" is not supporting for cross-domain compatibility.I want to implement cross-domain compatibility.Did any one know new technology or technique to implement the cross-domain compatibility. Thank you, With Regards, Prem

Member Avatar for Airshow
0
188
Member Avatar for kz13

Hi all...I am new to ajax and facing an uneven problem. I am validating login form and calling the same link (with additional parameters) through xmlhttp.open(). First the form code [CODE]<div id= "login" method="GET" > <form action="" id="contactform"> <input type="image" src="login-button.jpg" name="login_user" id="button" value="Login" alt="Submit button" onclick="loadXMLDoc(username.value, password.value)"/> </form> <span …

Member Avatar for pclfw
0
224
Member Avatar for vijaygupta

hello I have been developing a code for changing currency on onclick here is a demo code [CODE]<form id="setCurrency" action="{$request_uri}" method="post"> <select name="language" class="language"> <option value="">Select Currency</option> {foreach from=$currencies key=k item=f_currency} <option value="{$f_currency.name}" OnClick="location.href='javascript:setCurrency({$f_currency.id_currency})';">{$f_currency.sign}{$f_currency.name}</option> {/foreach}</select> <input type="hidden" name="id_currency" id="id_currency" value=""/> <input type="hidden" name="SubmitCurrency" value="" /> </form>[/CODE] .......................... It works fine …

Member Avatar for twiss
0
90
Member Avatar for 080346

Hello everybody! i have a problem, i m returning a data from servlet to ajax function and in function i want to compare the response.Text with some String e.g x but it doesnot compare it. i have the following code; function ajaxhandler() { tableHtml=response.Text if(tableHtml=='true') alert("Valid Move"); else alert("invalid move") …

Member Avatar for Luckychap
0
69
Member Avatar for devinodaniel

Hey friends, I have a site that I've put a lot of time and effort into and in the midst have also been using it to learn JavaScript. I'm pretty proficient at PHP so the site was mostly coded in PHP, but now I've decided it would be best use …

Member Avatar for twiss
0
161
Member Avatar for Rahul Das

I am developing an application where I am uploading a file and then it is uploaded to a temporary folder and I see the preview of that image through an ajax call without refreshing the current page.Then after clicking "Save" it saves the file to original directory. The file I …

0
121
Member Avatar for asg333

I have a form that takes a zipcode as input and displays a google map on the same page using ajax. If I submit the form using a submit button, it works fine. However, I would like to auto submit the form after 5 characters are entered. This code works …

Member Avatar for Airshow
0
155
Member Avatar for feoperro

Hi there, I'm trying to do a Username validation with JQuery but I'm not sure how to get a "TRUE" from the first section of code before going to the next section which is an ajax call to the backend. Below is my code. [CODE] $(document).ready(function() { $("#username").change(function() { var …

Member Avatar for feoperro
0
260
Member Avatar for feoperro

Hi, Does anyone know how to add an [URL="http://ajaxload.info/"]ajax loader[/URL] to the [URL="http://jquery.bassistance.de/validate/demo/milk/"]remember the milk[/URL] validation example? So that while the backend is busy, it shows the gif, when it's finished, it hides the gif... Thanks, Ashton.

Member Avatar for hielo
0
420
Member Avatar for gambit_1607

hi i want to check off a checkbox while i'm typing. for an example if i'm typing "oranges are good" and i have oranges, apples, and blueberry under my check box. i want oranges to be checked of as soon as i type oranges in my phrase "oranges are good". …

Member Avatar for hielo
0
135
Member Avatar for luisthedude

Im having problems loading content with ajax, the problem its that lets say that I have 2 links on my index.html, one is #page1 and the other one is #games1, well have happens is that if I click on either of them it just loads the same site, even thought …

Member Avatar for luisthedude
0
878
Member Avatar for Nybuler

Hello all, i'm building a register page for my forum my problem faced is i can't disable the DAMN Button! while the user input duplicate or wrong format ! Pls help me! T^T [CODE]<?php include 'dbconn.php'; include 'Header.php'; ?> <form name="frmRegisteration" action="Register.php" method="post" onSubmit="return DataValidator()"> <?php $name = $_POST['txtname']; $password …

Member Avatar for Nybuler
0
145
Member Avatar for pawarnilesh4u

I want to send another ajax request when one request is in process to get the status of first request. If I call both the request the second request gets blocked till the completion of the first request. Can anyone suggest a method so that second request gets processed in …

Member Avatar for pawarnilesh4u
0
347
Member Avatar for dschuett

I have an onclick that triggers ajax which calls a php script to pull data from MySQL. This information is then displayed in a div. The problem I am having is that sometimes pulling the data from MySQL takes 2-3 seconds, so the div is empty for about 2-3 seconds. …

Member Avatar for dschuett
0
395
Member Avatar for dschuett

Hi everyone. I am still very much in the learning phase of JQuery and AJAX, so your help is VERY much appreciated! I have created a webpage that has two tables of invoice records, which are printed to the screen using a php while loop. The first table is a …

0
100
Member Avatar for pinkygirl

Im getting this error:- The type 'System.Web.UI.ExtenderControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.C:\Users\User\Documents\Visual Studio 2005\deepali\mywork\Animation_Control.aspx can anyone please help me solve it?

Member Avatar for pinkygirl
0
210
Member Avatar for mishalk

Hi, I em using a asp.net webcontrol having two buttons and onclick of a button i em displaying the custom server control which is created using asp.net.I used AJAX so that the page does not reload when buttons are clicked. Check out the code below: [CODE] <%@ Register Assembly="abc" Namespace="abc" …

0
53
Member Avatar for skides

Hello, I am trying to get a form to call a javascript function on submit to send an ajax request. The site sits on one server and the php target file on another. I get a status of 0. From what I read, this is because the php file sits …

Member Avatar for Luckychap
0
129
Member Avatar for vandris

HI! I'm trying to make a form where a dropdown menu is populated from mysql. My code: [CODE=php]<? $link = mysql_connect('localhost', '****', '****'); if (!$link) { die('Could not connect: ' . mysql_error()); } mysql_select_db('****'); mysql_set_charset("utf8"); $query="SELECT distinct first_name FROM names_table"; $result=mysql_query($query); ?> <select name="first_name" onChange=""> <option>Choose!</option> <? while($row=mysql_fetch_array($result)) { ?> …

0
99
Member Avatar for sampa420

Hi developers, I develop a feature to recover the password for the user, but I'm having trouble to retrieving the value of json. The problem is....on success the IF condition always run the else I am pasting my code and if someone can help me. My engine JS [CODE]$("#mailResetUsrPass").click(function () …

0
77
Member Avatar for dschuett

I have a database of invoices that have multiple attachments(which are stored in a different table) per each invoice. I have it returning the row of invoices just fine. But now I want a way to click the "view" link to call a php script to open up a jquery …

Member Avatar for tinymark
0
2K
Member Avatar for dschuett

I know this is kind of a jquery/ajax question, but I figure it wouldn't hurt to ask here since someone may have done something similar. I have a database of invoices that have multiple attachments(which are stored in a different table) per each invoice. I have it returning the row …

0
82
Member Avatar for agam360

Here is my ajax call: [CODE] new Request.HTML({ url: 'users.html', method: 'get', update: 'go', evalScripts: true, /* !! Why isn't this working!? */ onComplete: function(){console.log('ajax complete!')} }).send()[/CODE] I even check eval scripts! users.html: [CODE]<label><h3>Save data here:</h3> <br /> <section id="load" style="display:none;"> <img src="progress.gif" /> </section> <section id="log"> </section> <table> <tr><td>Data:</td><td> …

Member Avatar for agam360
0
148
Member Avatar for TechySafi

[CODE]<script language = "javascript"> var XMLHttpRequestObject = false; if (window.XMLHttpRequest) { XMLHttpRequestObject = new XMLHttpRequest(); } else if (window.ActiveXObject) { XMLHttpRequestObject = new ActiveXObject("Microsoft.XMLHTTP"); } function getData(dataSource, divID) { if(XMLHttpRequestObject) { var obj = document.getElementById(divID); XMLHttpRequestObject.open("GET", dataSource); XMLHttpRequestObject.onreadystatechange = function() { if (XMLHttpRequestObject.readyState == 4 && XMLHttpRequestObject.status == 200) { …

Member Avatar for TechySafi
0
231
Member Avatar for vijaygupta

hello , I am writing a validation code in which i have validate two feilds and check if the feild username and email already exist in the database. please help

Member Avatar for jkon
0
133
Member Avatar for picarda

Hello, I build a 3 steps form with jQuery slider, step 1 is contact information, step 2 some options and at step 3 I want to create a summery of this form. To be more clear, you got at step 3 by a "next step" button and I want to …

0
67
Member Avatar for vijaygupta

Hello, I am writing a code to for a registration form in php,i am done with adding field to database the problem is "validation" there are msnu feilds in the form .I have to validate two feilds in my form username and email before submiting (in short i have to …

Member Avatar for vijaygupta
0
102
Member Avatar for Niveditya

ajax.html [CODE]<html> <head> <title> Ajax at work </title> <script language = "javascript"> var XMLHttpRequestObject = false; if (window.XMLHttpRequest) { XMLHttpRequestObject = new XMLHttpRequest(); } else if (window.ActiveXObject) { XMLHttpRequestObject = new ActiveXObject("Microsoft.XMLHTTP"); } function getData(dataSource, divID) { if(XMLHttpRequestObject) { var obj = document.getElementById(divID); XMLHttpRequestObject.open("GET", dataSource); XMLHttpRequestObject.onreadystatechange = function() { if …

Member Avatar for Niveditya
0
163

The End.