17,114 Topics

Member Avatar for
Member Avatar for amithasija

hi all, as we all know javascript is doing great these days,and compatible with all langauges is best feature.we can see the effects using javascript libraries are really good like scriptalous,jquery and prototype.if you have some resources u can share it with all community members to make world go around …

Member Avatar for amithasija
0
103
Member Avatar for Dennis_Phils

Hi everyone, I have this code in javascript where the XML file is loaded and displayed to an html using XSLT. It works fine in IE but not in Firefox. My problem is in the looping to the childNodes. It seems that Firefox does not recognize this line of code …

0
73
Member Avatar for mariecon

Hello everyone, I'm a newbie in AJAX. I have found a code in the web that uses AJAX and PHP (withjavascripts). It works well but i want to have a multiselectable dropdown. How can i retrieve the value of the multiselctable dropdown thruogh its javascript??? Here's the code that retrieve …

Member Avatar for mariecon
0
100
Member Avatar for anthmaina

This is a script for showing time but it only shows in IE but not in firefox.Whats the problem? <script language="javascript" type="text/javascript"> file://start display day/date code DaysofWeek = new Array() DaysofWeek[0]="Sunday" DaysofWeek[1]="Monday" DaysofWeek[2]="Tuesday" DaysofWeek[3]="Wednesday" DaysofWeek[4]="Thursday" DaysofWeek[5]="Friday" DaysofWeek[6]="Saturday" Months = new Array() Months[0]="January" Months[1]="February" Months[2]="March" Months[3]="April" Months[4]="May" Months[5]="June" Months[6]="July" Months[7]="August" Months[8]="September" …

Member Avatar for ~s.o.s~
0
168
Member Avatar for CsE2007

hi all , i made chate room and i use right text to enable user to write arbic words but, when sender write arbic text this text reach to reciever as "????????????????????? " , i do not know why this happen ? i think this problem related with unicode, if …

Member Avatar for ~s.o.s~
0
74
Member Avatar for Grantmitch1

Hello Daniweb Community I am creating a website and wish for the pages url to be the same. For example. The site is company.com I wish for the page company.com/help.htm to appear as company.com If you could help I would be very grateful thank you Grantmitch1

Member Avatar for ShawnCplus
0
96
Member Avatar for smilyswapna10

We are using disabling of F5 in onkeydown event of input objects.it is working for normal input objects but not working for the browse (input type='file') fields.is there any chance to do so?

Member Avatar for MidiMagic
0
92
Member Avatar for smilyswapna10

Hi All, I want to change the f5 property to html tag(i.e., <input type='file'>) for I.E.7.0 version and above. but its not working. Here the code is working in only in <input type='text'> but not working to <input type='file'> <html> <head> <script> document.onkeydown = function(){ if(window.event && window.event.keyCode == 116) …

Member Avatar for MidiMagic
0
71
Member Avatar for ineuw

I built a web page form, where the action is set to "mailto" to my email address. I already scripted the client side using Javascript and I wish to know if I can use Javascript for server side scripting as well? I do not know PHP, nor Perl, and prefer …

Member Avatar for ~s.o.s~
0
112
Member Avatar for kahaj

How do I have multiple mouseover events at the same time? Here's what I have so far. [code] <a href="assets/Ads/agapeCreations.pdf" /> <img src="assets/Ads/agapeCreationsNorm.jpg" alt="Agape Creations Photography" onmouseover="this.src='assets/Ads/agapeCreationsMouseOver.jpg' 'self.status='Agape Creations Photography';return true" onmouseout="this.src='assets/Ads/agapeCreationsNorm.jpg';return true" width="725" height="80" border="0" border=0 /></a><br /> [/code] I have the images swapping fine, but the self.status isn't …

Member Avatar for ~s.o.s~
0
225
Member Avatar for Pro2000

Hello everybody, I've written a program which contains AJAX... The program is a messenger... The code was: [CODE]var http = createRequestObject(); function createRequestObject(){ var request_; var browser = navigator.appName; if(browser == "Microsoft Internet Explorer"){ request_ = new ActiveXObject("Microsoft.XMLHTTP"); } else{ request_ = new XMLHttpRequest(); } return request_; } function getInfo(){ …

Member Avatar for digital-ether
0
102
Member Avatar for snowman11

Hi all... I've been reading this site for a while and now I have a question for you experts. I have a php page named edit.php. Code here: [code] <? // Connect database. include("connectdb.php"); // ***** This part will process when you Click on "Submit" button ***** // Check, if …

Member Avatar for nav33n
0
117
Member Avatar for DakDuif

hey ^_^ i really hope you guys can help me. Ill try to explain as clear as possible. Ok, so what I did was; I took a free web template, and tried to adjust it to the website i've been requested to make. What you see below is this window: …

Member Avatar for ShawnCplus
0
124
Member Avatar for earachefl@comca

Hi all, I'm learning JavaScript and have run into a problem. Displaying the contents of a cookie with the code [code] alert(document.cookie); [/code] works fine in Firefox 2.0.0.11, but in Safari 3.0.4, it just displays an empty alert box. Any quick answers? Any resources that you can point me to? …

Member Avatar for ~s.o.s~
0
100
Member Avatar for zeromancer

Sorry for the double post. but it wasn't even remotely in the right spot before. I wrote this little code segment to illustrate the idea of what I want. I'd like to be able to automatically scroll the DIV to the bottom when you add stuff to it. [code] <html> …

Member Avatar for digital-ether
0
1K
Member Avatar for manish_gajjar

i want to view image as tooltip of small image on mouseover on that so what is the code for that?using javascript how it can be done?

Member Avatar for Walkere
0
86
Member Avatar for Geminyi

New to CSS, and am just learning usage of dreamweaver so sorry if my question seems basic, and yes i am guilty of using WYSIWYG software. Usually i fight until i figure it out, but this problem has got the best of me this time. What happens is everything seems …

Member Avatar for Fungus1487
0
101
Member Avatar for chandusmiles

hi friends , i would like to learn Ajax so pls send me web links or sample programs wht is the Advantage of Ajax ? pls help me learn new concepts Ajax thanks & regards chandu

0
60
Member Avatar for thiagarajannn

Hai everybody, this is the proplem.when i excute the page and on clicking the button am getting error message saying that 'menu1.value is null or not an object'. how can i handle it.Please help me <SCRIPT type="text/javascript"> function test1(form) { if (form.menu1.Value == "Select") alert("Please select some other value!") else …

Member Avatar for thiagarajannn
0
189
Member Avatar for mexaros

I am recently out of college and two friends and I have decided started creating a system for a law firm. One of our objectives is to create a file type for this system that is encrypted until a password is entered when accessed outside of the system(ie if they …

Member Avatar for jwenting
0
115
Member Avatar for OmniX

I have an input submit button that once clicked activates php. Now the problem I have is that I have the neccessary code (or what i think is) to stop from the input button working (as I have used the same technique on the other input submit buttons). To get …

Member Avatar for OmniX
0
104
Member Avatar for saranya_arun

I have 4 radio buttons and 4 text boxes, say for eg: r1, r2, r3 and r4 and t1, t2, t3 and t4 respectively. On load of the page all 4 text boxes will be disabled, when i click on r1, t1 must get enabled. When i click on r2, …

Member Avatar for ~s.o.s~
0
266
Member Avatar for smilyswapna10

hi all, when i refresh the parent window then the child winodw should be closed using javascript and html. Thanks& Regards, swap.

Member Avatar for nav33n
0
90
Member Avatar for killer007

[B]Hello Guys i am Facing a problem which is annoying .. If i use " width=100%; " Site Works Fine on Internet Explorer, But Not on Firefox. If i use " width=auto; " Site Works Fine in Firefox but not on Internet Explorer. Can anybody tell me how to fix …

Member Avatar for MidiMagic
0
88
Member Avatar for orr16875

I have simple js form validation, and it doesn't work, no matter how enabled the browser is. I've tried everything. I even tried: <form action="mailto:..." > but it'll popup the windows alert about using the email program (outlook/outlook express) completely ignoring the js validation. please your help. this is the …

Member Avatar for Fest3er
0
154
Member Avatar for polski8

Everything was fine until yesterday. I am running 98SE with all the upgrades and stuff. I keep getting an error message that there is something (never the same thing) wrong with a script every single time I go to a page. This page did it twice. I also have a …

Member Avatar for darsh999
0
79
Member Avatar for ashkash

I am trying to implement a customer survey into our webpages. The survey consists of a javascript file which launches an html file in an iframe. When the user meets certain parameters defined in the js file it launches the iframe. This works fine in Firefox and the iframe is …

Member Avatar for ~s.o.s~
0
86
Member Avatar for OmniX

Im looking for a piece of code that can be used to select all input text fields and then disable and enable them at will. I was trying to work off this: [code] text = document.getElementsByTagName("input"); [/code] THEN when required: [code] text.disable = true; text.disable = false; [/code] Thanks, Regards …

Member Avatar for OmniX
0
7K
Member Avatar for manish_gajjar

ajax_example1.php <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="javascript"> function showdetail(id) { //var xmlhttp; //if(window.XMLHttpRequest) xmlhttp=new XMLHttpRequest(); /*else if(window.ActiveXObject) xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");*/ xmlhttp.open("GET","data_fetch.php?id="+id,true); xmlhttp.send(null); xmlhttp.onreadystatechange=function() { if(xmlhttp.readyState==4 || xmlhttp.readyState=="complete") { //if(xmlhttp.status==200) { //if(xmlhttp.responseText!='') { //document.getElementById('emp_nm').innerHTML=xmlhttp.responseText; xmldoc=xmlhttp.responseXML; document.getElementById("emp_nm").innerHTML=xmldoc.getElementsByTagName("emp_nm")[0].firstChild.data; document.getElementById("dpt_nm").innerHTML=xmldoc.getElementsByTagName("dpt_nm")[0].firstChild.data; document.getElementById("wrkphour").innerHTML=xmldoc.getElementsByTagName("wrkphour")[0].firstChild.data; document.getElementById("sal").innerHTML=xmldoc.getElementsByTagName("sal")[0].firstChild.data; document.getElementById("ph_no").innerHTML=xmldoc.getElementsByTagName("ph_no")[0].firstChild.data; …

Member Avatar for cfroese
0
91
Member Avatar for jp61

Hi, I have Spry placed on my web pages, when previewing in Firefox, and I click the Spry Accordion my nav at the top becomes bold and fuzzy, very strange, but it doesn't happen on every page [url]www.jimpoole.net/sinclair-college-courses.html[/url] I've compared code and looked at everything I know and can't come …

Member Avatar for jp61
0
135
Member Avatar for OmniX

Hi Guys, the problem im having is constructing a function that is usable for any submit button if it meets a certain criteria (this case mouseOver). Now orginally I was using the submit button for only one and was working fine but there are three. So I would like to …

Member Avatar for mellamokb
0
126
Member Avatar for Fest3er

I've created a fairly simple method for obfuscating email addresses as an anti-spam measure. It should work for any browser that supports JavaScript and a fairly modern Document Object Model (DOM). A composer window in the user's default email application will be opened. First up is the javascript function that …

Member Avatar for Fest3er
0
166
Member Avatar for Torner

I wrote a beginner AJAX tutorial, you can view it here: <snipped> I hope it helps someone. Thanks!

Member Avatar for fwassenaar
0
85
Member Avatar for dks1383

Hi all How can I write a javascript code to change the alignment of a textarea so that the user can select a part of of a textarea and change the alignment of this part by clicking a button? thanks

Member Avatar for Fungus1487
0
114
Member Avatar for palcham

Hi I am searched about uses of InnerHtml through net but i didn't satisfy that information so if you known means please send me about uses of inner html Advance Thanks

Member Avatar for temp304
0
142
Member Avatar for pappu_mca

Hi All... I developed one File upload application with HTML as client and JSP(Apache commons upload) as server... Its all working fine with submit...But i want to obtain the same with ajax request with no form submit.. How i have to pass file data along with other request paramaters like.... …

0
55
Member Avatar for palcham

Hi I cann't unable to get count the selected list box items using javascript so you please help me. if you know means please send to me Advance thanks

Member Avatar for palcham
0
219
Member Avatar for tariq04

hi i am new in PHP ,i am doing my job in a company and there are some existing project they tell to me plz check and remove errors ,i m trying more and more to remove this error but i m failure....plz help me. <?php require("header.inc.php"); session_start(); if(($useradmin)=='') { …

Member Avatar for vssp
0
160
Member Avatar for davidianstyle

I'm working with perl and javascript and I was wondering if anyone knew of a way to get syntax highlight for two or more programming languages at once in Emacs. For example: [CODE]# This is perl's comment my $variable; // This is javascript's comment var variable;[/CODE] I'd like the perl …

0
80
Member Avatar for avmaza

I have used the css to print the page orientation to landscape. But it is not giving the desired result. the code I have used, <style type="text/css" media="print"> .land{filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1)} </style> Please suggest me to print to lanscape. I am using php and javascript. Regards, maza

Member Avatar for chrelad
0
224
Member Avatar for Cosmocrazy

Hi guys. I have a website that is meant for showing pictures. Right now, it's set up so that I have to make a new webpage and manually configure every picture (size, location etc) exactly how I want it. Here's what I mean: ([URL="http://cosmocrazy.x10hosting.com/Gallery-75/art1/shapesinspace.html"]example[/URL]) There is a frame on the …

Member Avatar for MidiMagic
0
275
Member Avatar for gpsmike

Hello all. i'm real new to any scripting so please be gentle. I'd like to write a script based on the AddFileNamePlusDate.js for photoshop. For anyone who doesn't know this script gets the file name and adds a text layer of a photoshop document and places the file name text …

Member Avatar for gpsmike
0
164
Member Avatar for Atticus

I am setting up a gallery using LightWindow or ThickBox. I've added all the js & css files but the gallery will not work properly. When I click on a thumbnail, the LightWindow or ThickBox is suppose to open and display the image, instead the image opens into a new …

Member Avatar for Atticus
0
103
Member Avatar for manish_gajjar

Hii I have a query...I am using PHP,Mysql and Javascript.. I want to add values in the listbox from textbox..and also display them in hirerachical manner using treeview or <li> tag...so please send me code for performing this process. Thank you..

Member Avatar for nav33n
0
216
Member Avatar for tiggi

Hi, I need some help with cfwindows, I got a page with few buttons in a cfform that initialize cfwindows with source in another page. Everything works as it should cept that when I click on 1 button the rest don't work. I am getting an error "error processing JavaScript …

0
77
Member Avatar for nikie20

I am working on a rating tool.The tool consists of 5 images (5-star rating) on clixk of the image i want to update my rate table (i.e on each click i incerement the count in the database).Currently i am trying out using ajax to run carry the rate value to …

Member Avatar for IamGeek
0
69
Member Avatar for k2k

hi, Please tell me what is wrong with this simple piece of code. It won't show up anything. Thank you. <html> <head> <title>onclick</title> </head> <body> <p> <script language="javascript" type="text/javascript"> <a href="http://www.yahoo.com" onClick="alert('popup');">click this link</a>to test </script> </p> </body> </html>

Member Avatar for ShawnCplus
0
53
Member Avatar for elferra

Hi, Im having trouble while trying to show full text of the different options included in a select when its width is limited. The idea is to show the full text of the option (there are quite a lot of options that just differ in their last 2 letters, and …

Member Avatar for MidiMagic
0
81
Member Avatar for xaviergxf

Hi, I have a table in my database that´s like that: create table t( id int, name varchar(30), father_id int, Primary Key(id), Foreign Key(father_id) references t(id) ); I´m trying to do the follow: 1) Create a select box witch each option has an id, that when selected it search on …

Member Avatar for ShawnCplus
0
58
Member Avatar for kaushik259106

Is there a way to check Iframe is supported by a browser or not in the JSP using some script. Please let me know! Its urgent

Member Avatar for kaushik259106
0
444

The End.