14,054 Topics

Member Avatar for
Member Avatar for adobe71

[B]1.[/B] I want to put javascript in webpage that shows gif image on moving cursor anywhere on the page and [B]2.[/B]I want to get the value of one textbox and put this value to another textbox.

Member Avatar for adobe71
0
63
Member Avatar for mrcniceguy

i`m using the jquery library in ma web....so i`m wondering which method of calling the library is more recomended. i mean to download the libary and call it directly from the server or to link to googleapis???? Any suggestions will be appreciated. <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> OR <script …

Member Avatar for mrcniceguy
0
85
Member Avatar for ErlendHL

I have studied some AJAX, and tried to understand it. The AJAX works; i just want to write a right php document too. With the AJAX, I load the php file write.php. Here is what is in write.php: [CODE]<?php $NAME = 'data.txt'; $HANDLE = fopen($NAME, 'w') or die ('CANT OPEN …

Member Avatar for danishanila
0
565
Member Avatar for lifeworks

Hi I think what Im trying to do is possible, just not sure how... On a button click - Ive created an object, with some properties in it. If I want to access those properties when clicking another button... how do I do that? [code] function build() { var circ …

Member Avatar for Airshow
0
103
Member Avatar for s2xi

Hey, I've been playing around with the jDigiclock weather+time script from [URL="http://www.radoslavdimov.com/jquery-plugins/jquery-plugin-digiclock/"]http://www.radoslavdimov.com/jquery-plugins/jquery-plugin-digiclock/[/URL] the only problem with this awesome script is that it get the location of the user from the static input directly from the script. How can I access the users locale and feed it into the variable that …

Member Avatar for Airshow
0
195
Member Avatar for Davife

As part of data entry I am checking the validity of a date field and using the onchange event to trigger the check. As you will note it also compares start and end dates, but that's not the issue. The issue is that after a bad date is detected and …

Member Avatar for Davife
0
105
Member Avatar for rouse

I am looking for a correct way to test a JavaScript regular expression for phone number and email address. This includes the RegExp string and the syntax. First the syntax: I am confused about using the quote mark (“) in defing the RegExp. Is it [code] var email_test = new …

Member Avatar for rouse
0
171
Member Avatar for albertkao

After the apply button is clicked, the data entered by the user disappeared in the text form. How to keep the data appearing on the text form? The server use jsp and the Spring framework and the client use the Prototype javascript library.

Member Avatar for Airshow
0
101
Member Avatar for ErlendHL

Hey! I am making a chat program. I have a function Chat(); [code] function Chat(){ var fullMessage = document.getElementById('name').innerHTML +' '+ document.getElementById('message').value+'\n'; fullMessage = fullMessage.replace(/\'/g,"'"); fullMessage = fullMessage.replace(/\\"/g,"&quot;"); fullMessage = fullMessage.replace(/\[/g,'*lsb?'); fullMessage = fullMessage.replace(/\]/g,'*rsb?'); sendRequest('http://3rlend.com/pjattappend.php','F=allMessages.txt&D='+'fullMessage','POST',true); document.getElementById('message').value=""; } [/code] sendRequest(url,params,method,Asynch); i an AJAX function. Now when I try to execute Chat();, …

Member Avatar for ErlendHL
0
1K
Member Avatar for teawithmilk

Hi guys, I am looking for a way to change an image when a link is hovered over. I should make it clear that it is not the list/link image i want to change but an image along side in order to "illustrate" the content. Can anybody suggest a starting …

Member Avatar for almostbob
0
81
Member Avatar for UberJoker

I am able to get the file names with current script. $dir = "var/www"; $dh = opendir($dir); while (($file = readdir($dh)) !== false) { echo "<A HREF=\"$file\">$file</A><BR>\n"; } but the www folder is local. i wanted to get the file names on my windows server which has the following address …

Member Avatar for sunsetrainbow
0
106
Member Avatar for what_5626

hi, as the title has saiad, if the user click "ok" for exp it will link to [url]www.google.com[/url] and if the user click "cancel" it will link to [url]www.yahoo.com[/url]. below is my code [CODE] function calcFunc(){ var val1 = document.calcForm.selectQuantity1.selectedIndex; var val2 = document.calcForm.selectQuantity2.selectedIndex; var val3 = document.calcForm.selectQuantity3.selectedIndex; var val4 …

Member Avatar for Graphix
0
111
Member Avatar for phpdev

Hi all! this is my first post in this site.. the following code works fine with ff but not with **ie 8** - i had given [B]'windowname' [/B]in the place of **'_blank'** for ff, but that did not allow ie to open the window, so replaced it with blank, now …

Member Avatar for Suresh Vanam
0
143
Member Avatar for J217

I have beautiful floating number effect, written in JavaScript, which is not working on website under Firefox 3.x. It does work in any version of Internet Explorer. Can anyone help me fix it? Here's my site: [url]http://home.wlu.edu/~feldmann/[/url]

Member Avatar for almostbob
0
74
Member Avatar for rouse

I am writing a contact form using jQuery AJAX POST and PHP. The form works well and sends the email. What I want to know is how to get the return values for error and success on the same page where the contact form is rather than having the message …

Member Avatar for rouse
0
114
Member Avatar for Th3nutz

Hello guys i'm new with programming and i've been wondering if i could use AJAX with this: i have 4 words with links and when i press them i want to show some images and a text. Is this posible ? Here is the code that i use (i only …

Member Avatar for Airshow
0
93
Member Avatar for Tekkno

I have the following AJAX script: [code=javascript] function callAHAH(url, pageElement, errorMessage) { document.getElementById(pageElement).innerHTML; try { req = new XMLHttpRequest(); /* e.g. Firefox */ } catch(e) { try { req = new ActiveXObject("Msxml2.XMLHTTP"); /* some versions IE */ } catch (e) { try { req = new ActiveXObject("Microsoft.XMLHTTP"); /* some versions …

Member Avatar for Fungus1487
0
155
Member Avatar for UberJoker

So what im doing is actually in php, but just wanted to know whats the working logic of what im trying to do. I currently have 2 servers(virtual machines). i have a php file in ubuntu server that calls some other files on the windows server and vice versa. as …

Member Avatar for UberJoker
0
198
Member Avatar for Katsurou

Hi guys, I was wondering if it's possible to play a sound from.. let's say a .gif by clicking on it. Or even any other way as long as it doesnt take to much space on the site. (im talking a bout a short audioclip, it shouldnt be more then …

0
51
Member Avatar for symphil

Hi, I'm using this script to open the enlarge version of a thumbnail image, in a new window: <a href="images/enlarge/20ans_1.jpg" onclick="window.open (this.href, 'child', 'height=400,width=600'); return false"> But the pictures opens smaller than the window and I have to click on the miage (zoom tool) to get the full size. What's …

Member Avatar for almostbob
0
208
Member Avatar for faizal4cool

I want a php contact form in facebox.When i click the submit button it should show the error or success message in the facebox with the same page as background.Is it possible,pls help me... Thanks

Member Avatar for Digitalant
0
58
Member Avatar for fourteen

since FB.Connect works only in javascript how do i send the user id from the javascript to JSP for it to be stored in the database. for example how do i use FB.Connect.get_loggedInUser(); to send the id to jsp.?

0
75
Member Avatar for fonsy2000

hi, I am trying to setup a page where the visitor answer a question first before continue, otherwise, I don't want them entry. Can I do that using a dhtml and ajax? thank you for your help

0
41
Member Avatar for danielpataki

Hi Everyone! I am trying to use a $.post call in jQuery to check a user's credentials before submitting a form (so I can show errors without reloading the page), but I've run into a problem. I know why it is, because AJAX is not synchronous, but I just can't …

Member Avatar for Will Gresham
0
81
Member Avatar for ErlendHL

Hey! I am trying to make an auto scroll for my chat program. [URL="http://3rlend.com/testingScroll.html"]This[/URL] is the test page. If you are too lazy to take a look at the source, I will give it to you: [CODE] var DS = document.getElementById('div_scroll'); var de = document.getElementById('deb'); var date = new Date(); …

0
76
Member Avatar for Samir

I'm sure there is a really, really simple way to solve this issue. I'm just not a programmer so I don't know it off the top of my head. I have this script ext.php that accepts a variable ref. It works like [url]http://ext.php?ref=http://site.name[/url] The problem is that there is also …

Member Avatar for Luckychap
0
95
Member Avatar for Leratom

I need to create a table: inside a table i must have the picture with a heading, link<< 1 of 2 >> ,abstract and full story, read more news. When clicking on the link 1 of 2 the image must change along with the heading and abstract.

Member Avatar for Luckychap
0
56
Member Avatar for ramjeev

Friends, Since I have to design JSP using Ext-JS, I am in need of help to start Extended JS. Can anyone suggest me any good sites or pdfs to learn. Thanks, ramjeev

0
77
Member Avatar for doforumda

hi i wrote a code for login. it uses xhtml, ajax and php. the problem is when i try to login using firefox and chrome it does log me in and working fine but when i check it on IE8 and safari it does not log me in. it just …

0
68
Member Avatar for Techsavy

Hi, I have some 100 xml documents on a sharepoint website and I would like to replace the value of a particular attribute inside each XML document on the server. To do this: I would like to run a command line tool developed in Javascript which will ask me the …

Member Avatar for Airshow
0
140

The End.