920 Topics

Member Avatar for
Member Avatar for luckybutlost

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() { …

Member Avatar for Taywin
0
107
Member Avatar for akvlko

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"); } …

Member Avatar for mahavir123
0
112
Member Avatar for AboJaD

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=" …

Member Avatar for Airshow
0
368
Member Avatar for julianmoors

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 …

Member Avatar for Airshow
0
432
Member Avatar for Ankur_tces

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 …

Member Avatar for Ankur_tces
0
246
Member Avatar for SunnySideUp

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 …

Member Avatar for sleign
0
233
Member Avatar for julianmoors

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 …

0
85
Member Avatar for julianmoors

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 …

Member Avatar for julianmoors
0
198
Member Avatar for steveadams617

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 …

Member Avatar for Airshow
0
89
Member Avatar for ......?

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

0
72
Member Avatar for andrewliu

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 …

Member Avatar for andrewliu
0
329
Member Avatar for julianmoors

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, …

Member Avatar for P0lT10n
0
628
Member Avatar for pssubash
Member Avatar for hielo
0
104
Member Avatar for turverey

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 …

Member Avatar for turverey
0
116
Member Avatar for akshayinbox

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 …

Member Avatar for akshayinbox
0
172
Member Avatar for hellomadhur

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 …

Member Avatar for hielo
0
3K
Member Avatar for hellomadhur

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 …

Member Avatar for hielo
0
104
Member Avatar for SANTOSHJ87

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 …

0
63
Member Avatar for andrewliu

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 …

0
96
Member Avatar for avario

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 …

Member Avatar for avario
0
138
Member Avatar for hari.sarvothama

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 …

Member Avatar for lambing
0
248
Member Avatar for newtoajax

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 …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for wendeus

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 …

Member Avatar for CyberSpatium
0
141
Member Avatar for pwgmac

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. …

Member Avatar for george61
0
118
Member Avatar for am5a03

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 …

Member Avatar for am5a03
0
102
Member Avatar for shaikhanu

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 …

Member Avatar for fatihpiristine
0
229
Member Avatar for SunnySideUp

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 …

Member Avatar for Stefano Mtangoo
0
156
Member Avatar for chintan_1671

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 …

Member Avatar for chintan_1671
0
132
Member Avatar for robert_b

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 …

Member Avatar for Airshow
0
107
Member Avatar for Bliksempie

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 …

Member Avatar for MooGeek
0
173

The End.