920 Topics
|
|
Hi, I am trying to get some xml data using a jquery .post request, but it's not outputting anything. The client-side code looks like this [CODE] <html> <head> <script type="text/javascript" src="jquery-1.4.2.js"></script> <script type="text/javascript"> function cstarter() { window.einterval = setInterval("cst()", 5000); window.big = "hi"; } </script> <script type="text/javascript"> function cst() { … |
|
Hi There! I have a Ajax Function copied from W3Shools I have modified them as my Requirement but it won able to send the xmlHTTP request to my PHP page for result here the function [CODE] function showUser(str,txtId,mth,url) { if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } … |
|
Hello, I am trying to get the element of an option, but seems my code is not working: <script type="text/javascript"> /*<![CDATA[*/ function reportsendipp() { if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { ; } } xmlhttp.open("GET","report_member.php?report=" + document.getElementById("ipps").value + "&&member=" … |
|
Hi Guys, I'm in need of a paginator at the bottom of a table which is being returned by Ajax's responseText. I'm having trouble as I can't seem to hook up the JavaScript with the one being produced by Ajax. I know some of you will say I need to … |
|
Hi all, 1) I am trying to use Ajax and Jquery on master page. In my existing project i have used the Ajaxpro.dll it's working fine. but when i am trying to use jquery then it throws error "Object doesn't support this property or method." 2)I have taken a fresh … |
|
Hi, I am looking to get some help as to how I can create a script that does an Instant live search which displays results as I type: For Instance: 1) I arrive at a page and it has all lists of members from a database already displayed. 2) Then … |
|
Hi Guys, OK I'll admit it from the off I'm a complete PHP newbie, but I'm willing to learn. Here's what I've got so far... I have a search form which is being updated using an AJAX call. So far so good, but my boss would like it so that … |
|
Hi guys, I have a form which has multiple drop-down menus using the standard <select> tags, but I can only get the results for the first drop-down menu. Does anyone know how I can expand the below code to support multiple variables using a querystring? Thanks, Julian [CODE]<!DOCTYPE html PUBLIC … |
|
Using appendTo() I've successfully gotten a text box to be added when I click an icon when I click an edit button. I'd love to be able to have the text in the text box pre-selected so that the user can just start typing without having to highlight everything to … |
|
Hello everyone! To get incoming message in fb-chat, browsers send request in certain interval (i think 55.31s). But if there is message it fetches message and terminates before starting new. Can anyone explain how it is done Regards |
|
Hello, I was wondering what could be wrong? There is this ajax code that I'm trying to work on and its supposed to show the results in a div tag when submitting a search form, but theres no results. here's my code [CODE]$(document).ready(function(){ $("form.ajax").submit(function(){ var ajax_div = $(this).attr("id")+"_results"; var data … |
|
Hello, I am building a search filter, but I don't have much experience using AJAX. What I want to do is select a subject from an initial list then return a list of tutors which I have already done. Then I would like to return a list of centres, year, … |
|
Can any one tell the diffrence between Asynchronous AJAX and Synchronous AJAX ? |
|
I have several functions in a .js file that collect various types of information from the visitor, let's just say they are strings, and want to send that information to my database. I have no problem putting the information in my database once I get everything into PHP (I'm relatively … |
|
Hello. I don't know how to use AJAX. Can someone please help me? I'm using an iframe to display percentage of file uploaded. The iframe refreshes itself every 2.5 seconds. It's okay for now, but not a practical solution. I need iframe to refresh but, it shouldn't look like its … |
|
Hi, I have set of html pages that are installed locally on machine. I want to make ajax call to local files. In Firefox everything works fine. IE is able to load html pages through ajax call but not able to load xml document. Chrome doesn't support ajax call locally...and … |
|
Hi, I need xml data to be used in javascript. When I embed the whole xml in html page then I am able to access xml. But when when I use src tag I am unable to get xml file. Code is below: XML Data island in html page. [CODE]<xml … |
|
Hi, I've been trying to get my webpage to send data via java script, AJAX, xmlhttprequest. i'm using IIS7 It definitely is the write path and stuff because i do get a responsetext but the response returns the entire php code in that file. Does any1 have any idea what's … |
|
Hello, I have a search engine that I've created. It searches my MySQL database, but I was wondering how do you make it so it won't refresh the page? This is my form.php [CODE]<?php global $search_term; global $location_term; ?> <form action="index2.php" name="form" style="float:right;width:650px;height:60px;margin-right:30px;" onSubmit="return searchLocations();" > <table style="float:right;"><tr> <td> <label … |
|
I am trying to set up a sort of instant messaging system on a site I am creating. Users submit their messages which are then stored in a database. Other users looking at the page should then be able to see this message as soon as possible. The only way … |
|
Hi, I have a $.ajax call in my jquery function. I want to access the value returned from the server(php) to be accessed in jquery function. Hoe to do this?? [code] setTimeout(function(){ $.ajax({ url: 'ajax-validation.php', data: 'email=' + $('#email').val(), dataType:'text', type: 'post', success: function (resp) { if(resp=="Email is available")/*This does … |
|
HI I am trying to pass a value from dropdown list on onchange event fo the dropdown in a jsp page through AJAX to servlet. The servlet then returns the value back to the jsp page and displays it in dropdown list. the problem I am facing is that the … |
|
Hi everybody, I wanna make a simple leads form in php, this form has three fields. the first field is "code", the second one is Name and third is e-mail. the issue is that i have two tables in my database and i want in one hand store all this … |
|
Hi all, Sorry if this is a common thread. I did a search but couldn't find a solution I was looking for... You know the popup that appears if you're not logged in about joining Daniweb, I need to put together one very similar for a forum I'm working on. … |
|
I'm a AJAX newbie, I was wondering if I can use the .responseText method, to load the text from other website? For example, how can I download the data from "[URL="http://www.weather.com/weather/today/Hong+Kong+China+CHXX0049"]http://www.weather.com/weather/today/Hong+Kong+China+CHXX0049[/URL]" and display the data in my own way? It seems that the .responseText/.responseXML does not work here...:-/ thanks for … |
|
Loading Page in Specific Div using AHAH - http://microformats.org/wiki/rest/ahah but unable to execute script Main.html <html> <head><title>Main Page</title></head> <script type="text/javascript" src=GetPage.js> </script> <body> <form method=get onsubmit="load('History.html','GetDiv'); return false;"> <input type="text" name="quota" value=""> </form> <div id="GetDiv"> </div> </body> </html> GetPage.js function ahah(url,target) { document.getElementById(target).innerHTML = 'loading data...'; if (window.XMLHttpRequest) { req … |
|
Hi, I am looking to be able to display errors from my forms or whether the email address is already taken on the same page. My script is shown below: [CODE] if(isset($_POST['subregister'])) { require_once('../sign-up/recaptchalib.php'); $privatekey = "Hidden"; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if (!$resp->is_valid) { // What happens … |
|
I want to run a function just for specific time (say 10 min). After specific time it will return successful if it is able to execute the function successfully or unsuccessful. The function does a large amount of data processing and updating the tables. I want to stop executing that … |
|
Hello All, I'm having a serious problem with AJAX in my web application that has our entire development team banging their head against the keyboard. (Unfortunately, all that banging hasn't yielded a good answer, so I'm hoping one of the experts here have a possible solution!) The core question is … |
|
Hi everyone, I have an issue with IE7 not responding as it should after a log-in to a website I built for a client. This same problem also affects the add to basket or add to wish-list functionality, the checkout process, and all other Ajax requests. Here is a breakdown … |
The End.