923 Topics
| |
I built an ajax chat in one of my mvc website. everything is working fine. I am using polling. At certain interval i am using $.post to get the messages from the db. But there is a problem. The message retrieved using $.post keeps on repeating. here is my javascript … | |
Hello there I am a fairly new in MySQL/PHP/Javascript programming. I'm writing a web based gymnast profile management system for my final year project. Here's my problem. I have 5 MySQL InnoDB tables: [B]tests[/B], [B]testunits[/B], [B]points[/B], [B]testsgymnast[/B] and [B]gymnast[/B] I am able to retrieve a selected test which has particular … | |
As above, vital for my project! I need a while look whereby a customer will enter a currency value, which must be an integer obviously. They must enter 10 currency values and the sum of these values must be printed. Any help would be much appreciated! | |
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(); … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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" … | |
Is GWT without a doubt the fastest client JavaScript Framework for snappy user experience? | |
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 … | |
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'; … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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. … | |
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 … | |
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 … | |
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 … | |
| 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' … |
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> … | |
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 … | |
| 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 … |
The End.