920 Topics
| |
Hello everyone! I would like of uses a popup Ajax to open a site. For example: The user access the site, open a popup ajax with a warning: "The site is on maintenance. Close the window to use the page index of the site". How to ? Thanks you! | |
my coding is working but it is showing html tags from text.html,i want that onmouseover it get data from text.html by tag or div id naem and also by changing in text.html its suddenly chane not on refresh <html> <body> <script language="javascript" type="text/javascript"> <!-- //Browser Support Code function ajaxFunction(){ var … | |
| In the following html code, <html> <head> <title>Blogging</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> var tpe; var islogin = 0; var userid; function ajaxFunction() { var xmlhttp1; if(document.getElementById('searchtype1').checked == true) tpe = 1; else tpe = 2; if (window.XMLHttpRequest) xmlhttp1=new XMLHttpRequest(); else xmlhttp1=new ActiveXObject("Microsoft.XMLHTTP"); var searchvalue = document.getElementById("keyword").value; var … |
i want to learn ajax from plese tell me how can i learn ajax from begening to advanced level plz tell me | |
Hello All, I'm trying to GET values from a DB table in JSON format through AJAX and then parse them into a JQuery List. test.php (partial) [CODE]while($row=mysql_fetch_assoc($sql)) $output[]=$row; print(json_encode($output)); mysql_close();[/CODE] JSON Format it Returns: [CODE][{"name":"1423 Peacock Haven"},{"name":"9835 Fredericksburg Rd"},{"name":"Test Project"}][/CODE] Following along with [URL="http://www.roccles.com/?p=151"]this tutorial[/URL], I'm trying to parse my … | |
I am doing a cross-site ajax to java data transaction(Not sure if I named that correctly, so please forgive me about that). Part of code in Java file: [CODE]BufferedReader input = new BufferedReader(new InputStreamReader(connectionsocket. getInputStream())); DataOutputStream output = new DataOutputStream(connectionsocket.getOutputStream()); ... output.writeChars("some random text"); output.close();[/CODE] Also I have index.php file … | |
I am pulling more results from a database using getJSON/jQuery. The link works fine in Chrome, but in IE 9 I get the following error: "SCRIPT1002: Syntax error index2.php, line 2 character 1" which points to: [CODE]<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">[/CODE] However even if I remove the DOCTYPE it just complains … | |
Hi I would like to know if I can use freeswitch with PHP for voice chat. I have downloaded the freeswitch software But I am not getting how to configure php with freeswitch where to use this in freeswitch can voice chat application be created using php. how freeswitch is … | |
Hi there I have been trying to experiment with Parsing XML using Javascript. For some reason nothing happens. I found this example on W3 schools. Any idea why it's not working? This is my HTML page which contains the Javascript [CODE]<html> <head> <script type="text/javascript"> if (window.XMLHttpRequest) {// code for IE7+, … | |
i have a page for user registration where i a form with a image tag to it. i want the user to fill the form but as soon as he uploads the image i want the image uploaded to be displayed on the image tag. Then i want all these … | |
Hello potential problem solvers! I want to apologize ahead of time if this is a repeat of a similar question that I did not find, but here's my issue. I have a form I recently have been asked to try to make work seamlessly(no page refreshes), so of course I'm … | |
AJAX has retrieved value(using some DB operation)and inserted in text box.while retrieving that values on onClick event of button System.out.println shows null value.i want to retrieve value of "emp" input tag jsp file code:- [CODE] function checksubmit1() { document.w1allot.prepare.value=1; document.w1allot.submit(); } function showState(area_value) { if(document.getElementById("ddlFlat").value!="-1" || document.getElementById("emp").value!="") { xmlHttp=GetXmlHttpObject() xmlHttp1=GetXmlHttpObject1() … | |
Hi everyone, My name is Edward and I have question about AJAX, JSON, and google geocode. I have an assignment to create a webpage that has following text fields: name, street address, zip code, city, and state. The goal of this assignment is that when I fill the zip code-text … | |
Hello i am trying to make my Ajax fetch the right <input button value. The <button is generated by PHP and will look like this. [CODE] <input type="button" value="Private" id="txtCustomerId" onclick="requestAlbumInfo()"/> <input type="button" value="Public" id="txtCustomerId" onclick="requestAlbumInfo()"/> <input type="button" value="Nature" id="txtCustomerId" onclick="requestAlbumInfo()"/>[/CODE] My Ajax needs to fetch the value="" and send … | |
Hi there, I was trying to create this code to put in my wordpress post. I've no idea how and need help it. When the user click on the iphone 4s, it will load content below table to choose firmware, and computer's operating system, and it will link to the … | |
I am trying to start a daemon on a server with Ajax PHP and JQuery. The following code executes without any errors an opens all the html files in separate browser windows like it's supposed to. I receive the alert message . However, the daemon never starts. Can anyone see … | |
When i click a button [CODE]<input id='delete' type='button' name='delete' value='Delete' onclick='deletePost(<? echo $id;?>);'>[/CODE] I want it to go to this function which is sent to my delete php code [CODE]function deletePost(id){ $('.content-num' + id).hide('slow'); $.ajax({ type: "POST", url: "/func/delete.php", data: "id="+ id, success: function(){ }}); alert(id); } [/CODE] Im new … | |
Hi all, I'm sorry if the thread title doesn't make much sense; I'm quite new to AJAX (well, to web programming as a whole. I'm more of a SQL/client-server developer). Anyway, I'm having some trouble getting some code to work. What I'm doing is I am dynamically loading a list … | |
Hello, First let me start of by saying that I am new to javascript and ajax, but I thing I need them to accomplish what I am trying to do and here it is. I have there search forms, 1 search owner, 2 search contractor, 3 search properity. Then I … | |
I hate websites that timeout and don't let you know about it this script pops up a message when you timeout and allows you to re-login in place | |
| Evening, I am trying to grab information from a PHP script using JQuery when the user enters a value into a text input field. The text input box has an auto suggest function so that when the user begins tying they can see what matches from the database. If the … |
I am making a program in jsp servlet. There are three tables in database: category , subcategory and items. Their structure is like this :: category 'A' --> subcategory '1' ===> item 'i' ===> item 'ii' ===> item 'iii' --> subcategory '2' ===> item 'iv' category 'B' --> subcategory '3' … | |
Hi all, I have taken from net chained select script. here is all PHP and Javascript files but i dont understand one thing there. index.php file [ICODE]<?php include('db.php'); include('func.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Chained Select Boxes using … | |
Dear all, I am certainly not a web developer nor a computer scientist but a little biologist. I developed my tool to analyze some high-throughput biological results and I'd like to make it available online. My prototype : [URL="http://homes.esat.kuleuven.be/~sbrohee/test/new_gsea/php/"]http://homes.esat.kuleuven.be/~sbrohee/test/new_gsea/php/[/URL] Just to make it simple, the user must have the choice … | |
Hello, I have a problem with the response text of an ajax request. I want to use the answer of the php script ("true" or "false") to do different things with a if-condition, but it always takes the false option. Here is the code. [CODE] var hr = new XMLHttpRequest(); … | |
Hi, I am working over a ASP .NET application and SQL server database. The databases i m using is huge and takes time while updating or generating report by my ASP .NET application. As the reporting and updating require some calculation, if the user presses ESC button or Back button … | |
Hi,guys,morning to all :) I have face 1 situation, i already built an api using the rest method, and all my response data will be return in html data when i call the api, i testing on the same server using the jquery working fine, when i use on another … | |
Hi i am learning xml , in a very simple code i got an error saying [B]"Uncaught TypeError: Cannot call method 'getElementsByTagName' of null"[/B] i am getting this in all browsers ,i have tried to look for solution on google but could not find ,Plz help [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD … | |
I am looking for a way to achieve the layout shown below using CSS or any other method that can accommodate the design and implementation. The "top" portion is a fixed area. The "left" area will be a list of text links that target to the "main" area.To be more … | |
Hey, I've been scratching my head over this all day, would be most grateful for any help. Basically I have two links (in an unordered list). I would like each link to load a form onto the same page. I have no problem loading the HTML content and displaying the … |
The End.