15,120 Topics
| |
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 am trying to make a chat system ...using flash and php everything is done but cant update user-list in real-time ...i have Google it and find nothing ...can any one help me to update user-list as the come and go real-time.... using ajax/jquery/javascript or any thing.... | |
i'm trying to load an page into my site using [CODE]href="javascript:ajaxpage('page.html', 'containerdiv');[/CODE] while the external page is loading is it possible to show some loading animation in tht div [COLOR="Red"]Please help me!!![/COLOR] | |
Hi All, I have to fetch data from an xml file which will provide start and end date of an event.There will be various events. I have to make a weekly calender using jQuery which will display all the events in one week. And there will be two buttons:Previous and … | |
hello guys i am facing a problem in accessing form elements and returing them.. can u please help me.. ? Here the problem goes: <script language="javascript" type="text/javascript"> function pop() { newwindow2=window.open('','name','height=500,width=500'); var tmp = newwindow2.document; tmp.write('<html><head><title>popup</title>'); tmp.write('<body><form action ="hello.html" value="somthing" method="post">'); tmp.write('<b>Date</b>') tmp.write('<input type="text" name="date"><br>'); tmp.write('<b>Event Title</b>') tmp.write('<input type="text" name="title"><br>'); … | |
| |
Hello I am new to JavaScript and need some assistance. I am trying to create a page/form where the user enters first and last name and select their title (Mr, Miss or Mrs). There is also the ability to select 1 of 2 options by clicking a link. After the … | |
I am using @font-face tag in my website. Everything works fine in Mac, Vista and Win 7, but fonts are incredibly ugly in XP. This is because font anti-aliasing is kept at very primitive level by default. In my opinion, the best way through this problem is to make a … | |
Hey Guys, I just wanted some help on how I can use Javascript's onClick function to allow my visitors to be able to navigate to different paragraphs. So, for example: [CODE]<html> <head> <title>Test</title> </head> <body> <p> <a href="#" onClick="?">Click here to go to Paragraph 1</a> <a href="#" onClick="?">Click here to … | |
How can i iterate through all javascript functions defined in a document? And how i call them? | |
hey, I have two pages index1.html and index2.html. In index1.html i have 54 links and in index2.html i have a iframe. "When i click on a link on index1.html ........... i want index2.html to load.... and the iframe in index2.html to have The link I clicked" | |
Hi All, I have specific requirement in web development. I am Programmer Analyst in .Net, would like to know the difference between Firefox and IE6.0. Some of the Javascript will not execute in Firefox !! Does any one have better idea about this !!. Thanks and with regards, Madhusudhan.H.K. | |
A number of different server-side programming languages are available. Which one of these languages is NOT one of these? PHP, Java, Ruby on Rails or ASP? | |
I have found the following code and wish to have it do a POST instead of the GET can someone tell me what needs changing so this does a POST ajax.php [code] <?php if (is_numeric($_GET['client_id'])) { include("database.php"); $query="SELECT * FROM `client_addresses` WHERE `client_id` = '". db_input($_GET['client_id']) ."'"; $result=mysql_query($query); ?><select name="client_address"> … | |
If I would have a simple function like this: [CODE]jQuery.fn.example = function(){ this.remove(); }[/CODE] and call it with an empty selector: [CODE]$().example();[/CODE] What element would then [B]this[/B] be pointing to? Or is there a way to make a function able to be executed through both [B]$.example()[/B], without a selector, and … | |
Hello everyone, In attachment File Have ziped file for Ajax Datepicker. The Code is working but i have some problem. if i want to use it with php, how can i know where is the $_POST name . Code : [CODE]<div id="widget"> <div id="widgetField" style="width: 290px; height: 26px"> <span>28 July, … | |
I am reading a xml file and saving the data in array.But I am not able to use the array values later.I have declared everything as global. When I put an alert(myData[3]); I am getting "undefined".Please help. Below is my code: function modify_data(xml) { //alert("tyur"); $(xml).find('person').each(function(){ phone = $(this).find('phone').text(); email … | |
| Hi, I tried an example on [url]http://www.captain.at/howto-ajax-form-post-request.php[/url] for sending a POST form. When I run the example on that specific page, everything works well. Also in Wireshark I see the POST packet passing by. But I'm getting errors when I copy the code to a local html file, and try … |
Hello, How can I pass form data from a form on one page, to a form on another. Here is what I need exactly: I am working on the following website: [url]http://kleinstudiosinc.net/tntexterminating/[/url] There is a form in the header titled "Shedule Service" I would like a user to enter the … | |
Hi all, The following script is a task I set myself to learn javascript, essentially there are several arrays containg keywords which, depending on the array, should highlight those words in different colours. The code works but I get an unresponsive script error and it's very slow. I think because … | |
Hi! Sorry for my bad english. How is made that toolbar on this site always stays on the botom of the page. (So, when we log in, on this site will appears toolbar. When we scroll down, this toolbar stay, it doesn't move anywhere, it stay on the bottom.) | |
Hi, how can i get password length on form in jquery? I get the password with this: var sifra=$("#input:password").val(); but when I want to check if password is entered and length is more than 6 characters, it doesn't work: [CODE] if(! sifra){ $("#sifra_p").show(); $("#sifra_p").html("Niste unijeli šifru!"); greska=1; } else{ if(sifra.length … | |
I am absolutely newbie to Ajax and I need to have this fixed by tomorrow as I have a project to complete so anyone who could help me, I would be really greatful! This is what I have cooked up so far index.php [code=php]<html> <body> <script language="javascript" type="text/javascript"> <!-- //Browser … | |
Hi, A site I'm developing loads new pages via AJAX, to allow people to share the links we use a hashtag to track the URL E.G. User is on example.com/page1.html User clicks on link to example.com/page2.html page2.html is loaded dynamically and the URL is set to example.com/page1.html#!/page2.html That all works … | |
Hello I want that by clicking in button one more textbox will be add in form and that form data will be stored in mysql. How can I do that. For example I have a form having 3 text field named text1,text2,text3. I want that visitor can add text4,text5..... and … | |
Although calender is displaying properly, when I comment mycal.hide(). But it is not working on button click. [CODE] <!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>YUI Calender</title> <link rel="stylesheet" type="text/css" href="build/calendar/assets/skins/sam/calendar-skin.css" /> <script type="text/javascript" src="build/yahoo-dom-event/yahoo-dom-event.js"></script> <script type="text/javascript" src="build/calendar/calendar-min.js"></script> <script type="text/javascript"> YAHOO.namespace("yuibook.calendar"); … | |
Hey, Just having a few problems with a few of my landing pages and was wondering if anyone knows how to fix them or can help me find a link with the solutions. 1. How do I make the landing pages work in all browsers. For example, my pages work … | |
hello! is there something in javascript to make sure that the page is completely loaded and the i execute a function in javascript. because i have a web page that i have an image slider,so if i open this page in same page before (window.location="source") so the page is loading … | |
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 … | |
Hello, I have a problem regarding how to implement dynamic dropdown in which values for 1st dropdown will come from MySql database and the values of second dropdown will come from the MySql database on the basis of selected first dropdown value. I dont know Ajax. I need code for … |
The End.