920 Topics

Member Avatar for
Member Avatar for benqus

Hello everybody! I have a serious problem with my diploma work! So here it is: My ajax.js file cannot be executed. It does nothing when I click on the buttons... Here's the ajax.js code:4 [CODE] function opensave(type){ url="open.php"; content=replacer("editor"); var xmlhttp=if(window.XMLHttpRequest){ new XMLHttpRequest(); } else if(){ new ActiveXObject("Microsoft.XMLHTTP"); }; xmlhttp.onreadystatechange=stateChanged(); …

Member Avatar for Graphix
0
136
Member Avatar for gupta.software

I have Webpage written using PHP that displays drop down data from MySQL tables. I want my page to refresh and appeared new entry list in drop down list, after new records are entered to the database.I want auto refresh but when submit the form only.

Member Avatar for gupta.software
0
222
Member Avatar for UberJoker

Hey Guys. I cant actually think of a way to do this. Let me rephrase my question. I essentially want a perl script to run based on something that i am doing in javascript. for example: <javascript> if(x == 1) { then run the perl script. } </javascript> i dont …

Member Avatar for Airshow
0
3K
Member Avatar for shakthi712

hi friends I am developing a chat application here i have kept general chat room here multi users can chat with each other but now i want one to one chat in my application, when logged user click on any user in the user list, one pop up window should …

Member Avatar for kvprajapati
0
96
Member Avatar for JavaFrk

Hi All, i want to develop a realtime stock updation chart with js,Ajax,MySQl and Eclipse. Environment with MySQL,JS and tomcat is established. Now how can i start with the use of Ajax into Eclipse and go through dis module is there any source example or code available ? Thank u …

Member Avatar for JavaFrk
0
69
Member Avatar for player_d

hey, i have a table with 10 rows: id | name | age | class. i need to make the headlines clickable for sorting . ex: if i press the "id" column then it will sort the rows descending and ascending. i need it to be most simple. it is …

0
58
Member Avatar for PierlucSS

I'm currently working on some ajax polling stuff and I don't want do pass through all the process if nothing has changed in the xml file I'm using for my asynchronous process. However after each polling I want to set the value DateTime.Now, but cannot do it with [CODE]Request.Form[ "lastPoll" …

Member Avatar for PierlucSS
0
7K
Member Avatar for remoteportal
0
53
Member Avatar for dylank

Hey all you guys at DaniWeb! I have tried my hand at what I guess is Ajax, with a PHP script to execute it. The page itself renders and the form works, but the login script is not working. I'm not sure what is wrong, although I'm sure I messed …

Member Avatar for NettSite
0
145
Member Avatar for vimals

function MakePostRequest(filename) { if (window.XMLHttpRequest) // Object of the current windows { xhr = new XMLHttpRequest(); } else if (window.ActiveXObject) // ActiveX version { xhr = new ActiveXObject("Microsoft.XMLHTTP"); // Internet Explorer } mid=document.updmem.updid.value; fname=document.updmem.updfname.value; lname=document.updmem.updlname.value; email=document.updmem.updemail.value; usr=document.updmem.updusr.value; pass=document.updmem.updpass.value; home=document.updmem.updhome.value; addr1=document.updmem.updaddr1.value; if (document.updmem.updaddr2.value.length==0){ addr2='NULL'; } else{ addr2=document.updmem.updaddr2.value; } if (document.updmem.updmob.value.length==0){ mob='NULL'; …

0
67
Member Avatar for Wraithmanilian

I am trying to learn a little about ajax and prototype.js. Here's what I have so far: [B]boardtest.php[/B] [CODE] <html> <head> <title>AJAX Test with new javascript</title> <script src="scripts/prototype.js" type="text/javascript"></script> <script src="scripts/ajax.js" type="text/javascript"></script> </head> <body> <div id="products">(...locaing inventory...)</div> </body> </html> [/CODE] [B]ajax.php[/B] [CODE] <?php $company = $_GET['company']; $limit = $_GET['limit']; $line …

Member Avatar for Troy III
0
229
Member Avatar for dhavalcoholic

Hellow friends! I am new to ASP.net. I am developing my college major project in Asp.net 2008. How should I use Ajax controls in my web project? I added the ASP.NET Ajax Library 0911 Beta to my VWD. The controls are visible, but they dont work properly on runtime. Controls …

Member Avatar for boonfoo
0
174
Member Avatar for Krstevski

This simple library containing some methods of Ajax. Example about addContent(url, target): With this function you can change the content of the someone DIV tag. E.g: index.php [CODE=php] <html> <head> <title>Untitled Document</title> <script type="text/javascript" src="ajax.js"></script> </head> <body> <div id="test"> <a href="javascript: addContent('test.php', 'content')"> Change </a> </div> <div id="content"> <label> This …

0
780
Member Avatar for grahamfromcork

[CODE=AJAX] function update(value1) { doAjax("behind_scan.php" , "id="+value1); } function doAjax(url , str ) { xmlhttp=GetXmlHttpObject(); if (xmlhttp==null) { alert ("Browser does not support HTTP Request"); return; } url=url+"?"+str; xmlhttp.onreadystatechange=stateChanged; xmlhttp.open("GET",url,true); xmlhttp.send(null); } function stateChanged() { if (xmlhttp.readyState==4) { //document.getElementById("txtHint").innerHTML=xmlhttp.responseText; //alert(xmlhttp.responseText) document.forms.myform.scanner.value = ""; document.forms.myform.scanner.focus(); } } function GetXmlHttpObject() { if …

Member Avatar for Hangfire
0
119
Member Avatar for diracleo

When content is loaded into a div on my web site, the div, while waiting for the new content to load, resizes to 0px in height, which causes the scrollbar on the browser to shift upward, and then when the new content loads, the scrollbar is too far up for …

0
165
Member Avatar for anshul09

I have two dropdown lists in my HTML form. In first dropdown list, I have some countries name already added in HTML form. In second drop down list there is no item yet except "Select choice". Now my problem is that I want that when i click on any country …

Member Avatar for Fbody
0
135
Member Avatar for dylank

Hello DaniWeb! I am having a particular problem with my Javascript page, which should change the form that the user is at. Can anyone proofread my code to check for errors? The code does not change the form (Also it does not run the PHP page, or at least does …

Member Avatar for dylank
0
170
Member Avatar for dylank

Hello DaniWeb Community! I am trying to create a web page that utilizes Ajax and PHP to connect to my mySql database and look up a username and password. You have all most likely seen the web page that has the template code on it: [url]http://www.phpeasystep.com/workshopview.php?id=6[/url] This code is nice …

Member Avatar for mwasif
0
4K
Member Avatar for dylank

Hey guys at DaniWeb! I have spent a lot of time debugging this PHP/AJAX page, and it finally (sort of) works. Index.php can read and write to processLogin.php so I have a page that can log you in without refreshing the page. However, I cant figure out how to set …

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

[B]How to Change default settings for ACT HTML Editor?[/B] I want to load editor with for example Selected Bold Button or with rtl direction instead of ltr defaultly. How can I perform that? I overrided FillTopToolbar() method to add Custom buttons but I dont Know how to change default settings. …

Member Avatar for ghmcadams
0
93
Member Avatar for realnsleo

Hi, okay i've spent hours in the web searching for the right image slideshow/gallery to use for my website but in vain! Dont get me wrong the jQuery, Ajax scripts i've seen so far are so good but they all use lists to load all the images at once and …

Member Avatar for realnsleo
0
129
Member Avatar for EddieC

Zend Technologies today is set to announce a series of alliances intended to allow its PHP framework and development environment to work with other widely deployed RIA technologies from Adobe, Dojo and IBM. In a keynote speech at [url=http://www.zendcon.com/ZendCon08/public/content/home]ZendCon[/url], the company's annual PHP developer conference in Cupertino, Calif., Zend CEO …

Member Avatar for ablitz
0
451
Member Avatar for amitverma

i am using the following JQuery function to successfully POST data to the user_submit.php file, its just that the php file is unable to receive the data. [CODE] $(function() { $("#submit_js").click(function() { $.post("user_submit.php", { comment: $("#comment").val() }); }); });[/CODE] upon finishing the Firebug consoloe shows this: [CODE]<html> <body> Your vote …

Member Avatar for furutani
0
204
Member Avatar for feoperro

Hi, I have an ajax script that sends a request to a servlet for information to be inserted into a table cell. The servlet then handles the request and replies with something like this: (I took the liberty of removing all the out.println tags) [CODE] <script language='javascript' src='whiteWine.js'></script> <table align='center' …

Member Avatar for feoperro
0
130
Member Avatar for deven_a76

Hello friends, I am trying to use the Ajax control i.e. Scriptmanager, to get the data from the server asynchronously (without postback). For this as per the guidance given by MSDN, I have code in my system. I have used following psuedo code... [Code] <ScriptManager ID="..."> <ScriptService path="ABC.asmx"/> </ScriptManager> <script> …

Member Avatar for deven_a76
0
98
Member Avatar for Henzard

I have a php user front-end and would like to validate a some fields to stop duplicates the database is oracle and the form is quite large i was wondering if it is possible with Javascript or ajax to run a select statement using php code check the values and …

Member Avatar for phpbeginners
0
147
Member Avatar for ragnarok511

Is there a way to send a large amount of data through AJAX to a PHP script? Almost all tutorials say to modify the URL to equal whatever variable your trying to look up. I am wondering if it is possible to pass infomation to the server through an XML …

Member Avatar for digital-ether
0
2K
Member Avatar for emurf59

I have written a javascript function that calls a web service to save data. When the web service is called an alert pops up saying [I]the server method saveUpdateCodes failed[/I], and it gives no other information. The thing is the web service executes and throws no errors (I've stepped though …

Member Avatar for hielo
0
133
Member Avatar for dmmajorstudent

i have all the fields working. now i just need the user information as well as my created images into my sidebar div id="badge" and div id="results" every time i hit submit it clears the form rather than posting it. what am i missing? [CODE]// JavaScript Document function setupForm() { …

0
92
Member Avatar for kjelle392

Hello friends! I'm just beginning with JavaScript (and Ajax). My loginscript now works with Ajax - that is; the script is sending a request to the servers PHP script to check username and password, but I wonder what that script should return - and how to use that response. Either …

Member Avatar for ryan_vietnow
0
348

The End.