17,115 Topics

Member Avatar for
Member Avatar for rene_maassen

Before uploading files via a HTML-form, I want to do some client-side validating. E.g. to check the filesize of the file selected by the user to upload. Filesize should be,say, between 5MB and 50 MB. My 'feeling' says there should be such an instruction in Javascript, but I can't find …

Member Avatar for t-servi.com
0
90
Member Avatar for Jahira

hi all, i need javascript function to validate the Date of birth field...it should check,leap year condition and also the year should nt be the future one.. Thank u...

Member Avatar for Traicey
0
95
Member Avatar for ebabes

Is it possible to load two web pages at the same time without using a javascript? I want a pop up webpage to appear and I usually do it using javascript. But my problem is when a clients computer blocks a javascript, the page is unable to load. Is there …

Member Avatar for pritaeas
0
83
Member Avatar for mosh

Hi There. I'm new in java script , and I want to know somthing in it. I'm asking if i have a variable and i want to know the data type for the data in it. I'm not sure if you understand me well , but i will give you …

Member Avatar for digital-ether
0
132
Member Avatar for mikki2

hi, i am trying to put an image into the title. i mean like daniweb's title icon is the blue "db" and google's "G", you know...the image in the location bar? sorry i dont know how to explain it properly cuz i dont know what it's called. Thanks

Member Avatar for mikki2
0
125
Member Avatar for nishanthaMe

can we use javascript inside css classes, Because I want to get the browser window width to the css width atribute. Thanks

Member Avatar for MidiMagic
0
140
Member Avatar for priyav

hai everybody, i have a problem in jsp that i should access my application only by login. in my project when i give this url in my address bar "http://localhost:8080/jsp-examples/InvMgmt/test/stockrequisition.jsp". it directly goes to the stockrequisition page. i dont know how to use the session variable. here i am sending …

Member Avatar for peter_budo
0
130
Member Avatar for jithusdani

i created a drop down menu in the following manner and its coming like horizontal menu with vertical sub menu.What i want is horizontal menu with horizontal sub menu can anybody can help me..here am attaching my cuurent code.. menu.html [code=HTML]<html> <head> <LINK href="menu.css" rel=stylesheet> <LINK href="menu.css" type=text/css rel=stylesheet> </head> …

0
71
Member Avatar for narutosan_22

I want to know when the monitor of the user is off so that I can play a sound instead of making an alert. I know you can help :) Thanks.

Member Avatar for pritaeas
0
36
Member Avatar for flashyflashy

I have 3 pages a.php ,b.php and c.php .How can I use the variable of b.php in c.php [B]a.php[/B] [ICODE]<script type="text/javascript"> var width; width = screen.width; if (width > 0) { location.href = "b.php?width=" + width; } else exit(); </script>[/ICODE] [B]b.php[/B] [ICODE]<?php if($_GET['width']) { public $screen_width; $screen_width=$_GET['width']; } else { …

Member Avatar for flashyflashy
0
81
Member Avatar for sampathw

Hello, I'm developing a web theme. Before the last div tag(Which simply has an image), I have added a java script which is calling a remote server for an image output. the last div tag image doesn't get loaded until the javascript execution completes. Please let me know a way …

Member Avatar for sampathw
0
119
Member Avatar for fluffythebunny

I was going to take a look at learning ajax. Using php but my server doesn't support php. I used sql and asp access 2000. From 97-00. Got so burnt out I didn't touch another computer Until feb 2007. So anyway back to javascript then. I have this script that …

Member Avatar for Luckychap
0
96
Member Avatar for priyala

HI, I would like to know if there is a way to write data to a text file from the HTML controls in a website creation. If so please explain how to go about it Thanks, Priya

Member Avatar for allen.jes
0
87
Member Avatar for cariocgl

------------PART ONE------------------ [code=syntax] if(navigator.appName == "Netscape"){ xmlHttp = new XMLHttpRequest(); xmlHttp.open("GET",xmlfile , false); xmlHttp.send(null); docObj = xmlHttp.responseXML; var objNodesname = docObj.getElementsByTagName("name"); }else{ var docObj = new ActiveXObject("MSXML.DOMDocument"); docObj.load(xmlfile); var objNodesname = docObj.getElementsByTagName("name"); } [/code] ------------PART TWO------------------ [code=syntax] for (i = 0 ; i < objNodesnames.length ; i++) { if(navigator.appName == …

Member Avatar for cariocgl
0
75
Member Avatar for vganeshvenu

Hi All, Can any one help me out by giving the code for javascript calendar. Thanks in advance.

Member Avatar for codebreaker
0
117
Member Avatar for fluffythebunny

I been seening ajax all over the place. The only time I have used is in the news feeds script I got from dynamic drive. The first question I have, is do you need to have a database dns sort of thing to be able to begin learning it. Where …

Member Avatar for KenK
0
116
Member Avatar for fluffythebunny

I am wanting to learn more about ajax. But I don't know if you need a database the server to be able to learn it. Since I don't have one of those. I am not sure if I should move on to something else. Where would be the best place …

Member Avatar for fluffythebunny
0
61
Member Avatar for farahphp

Hi there i have a window(A) which has a button which when clicked opens a new window(B) which is for authentication tht is for username and password once the username and password r validated a new window should open in the first window(A) how can i achive this please help …

Member Avatar for Will Gresham
0
82
Member Avatar for kained

I am making a google map as part of a university project. [URL="http://intweb.tech.bcuc.ac.uk/~20318219/project/index.php"]here[/URL] and am having a few problems. Basicly for some reason my markers are not appearing as i don't think my array is being read. Using the firebug plugin i am getting the following error message: markers is …

Member Avatar for kained
0
102
Member Avatar for forzadraco

how to make sorting field in table based on alphabetical sorting descending-ascending.. can anyone give a link tutorial that?

Member Avatar for zarawebfx
0
64
Member Avatar for fatnjazzy

Hi, i need to buld an application that goes to a PHP (over ajax) and gets currency quotes every 1 seccond. (I have set the PHP code and its working fine). if you take a look at the table in the next page: [url]http://www.forex-markets.com/quotes_exotic.htm[/url] ([B]just an example[/B]) i need to …

Member Avatar for Luckychap
0
121
Member Avatar for Jahira

hi all, i need javascript function to validate the Date of birth field...it should check,leap year condition and also the year should nt be the future one.. Thank u...

Member Avatar for Jx_Man
0
51
Member Avatar for scottholmes

I was recently given a criticism that a project of mine seems to be designed for "small screen". This is true as most of the work has been done on 17inch screens. I need some general advise and suggestions on what I should be most concerned about: fonts, iframe sizes, …

Member Avatar for Luckychap
0
67
Member Avatar for fluffythebunny

I have been back at scripting for about a year now. I first learned basic 1.1 back in the 80's. Now I have the IQ of a house plant. The only way I have been able to learn javascript. Is to see some easy code and play with it. So …

0
48
Member Avatar for web_master

Javascripters plz help I have made a little slider below(not perfect i know)....and i have some bugs in it...... help me debug them plz i want 'marq_box' to hide as soon as height of 'slide_box' is less than 219px. therefore i made the function hideInnerSlide(); which ofcourse is wrong that …

Member Avatar for web_master
0
127
Member Avatar for ChrisKlinger

After several days, red eyes, sleepless nights and gray hair, I _still_ can't get swf to cooperate. I've tried both loading the pure .swf, and encapsulating it in a separate .html page (01.swf and 01.html) Still, the script I'm trying just sits there. The audio is a self-esteem message, that …

Member Avatar for phper
0
108
Member Avatar for hidash_in

hi all, i need to open indesign, framemeker, pdf files using java script. i have tried in many ways but i cant get the result. pls help me. thanks in advance hidash.

Member Avatar for ~s.o.s~
0
180
Member Avatar for angela1978

Hi all, I would like to get some help with something i would like to see working. It's hard to explain but i'll give it my best shot. I want to retrieve the result from a DB by selecting multiple selections in 2 or 3 or even more select boxes. …

Member Avatar for RoryGren
0
112
Member Avatar for fluffythebunny

I have made a mouseover layer menu. Click on the link to keep it open. The only way to close the layer is to reload the page. Is there anyother way to do it. link to script. [URL="http://www.stupidharold.com/dani/clicktokeepopen.htm"]http://www.stupidharold.com/dani/clicktokeepopen.htm[/URL] Page trying to fix. [URL="http://www.stupidharold.com/Harold1/acessScripts.htm"]http://www.stupidharold.com/Harold1/acessScripts.htm[/URL] I have another question. I am running …

Member Avatar for Luckychap
0
73
Member Avatar for tver3305

Hi guys, i have this problem which has been bugging me for some time. I am creating a website using php,MySQL, javascript and ofcourse html. I create/generate all my pages dynamically using php and depending on the data fetched from the dbase. I have some big scrollable data which should …

0
63
Member Avatar for chrbar

Hello, I would like to use ThickBox script in my Web page ([url]http://jquery.com/demo/thickbox/)[/url], but this script is supported on Safari 2.0.4+ and my Web page has to be compatible with Safari 2.0.3 too! Do you know a script which detects browser version? A script which allows to use a specific …

0
49
Member Avatar for Aeneassan

I get flickering images when i use this code for an image rollover change, i used the same code on a different website a while back and it worked but now i only get a flicker instead of the second image... If anybody knows why please respond :) (website where …

Member Avatar for ~s.o.s~
0
132
Member Avatar for theausum
Member Avatar for peter_budo
0
75
Member Avatar for web_master

Professional javascripters plz help or illl be screwed at work.....plz guys..... I have made this sliding div....but i am having a big problem.....i dont want the div to appear in the first place....but in the code below its is already open when the page refreshed....I want it to open when …

Member Avatar for web_master
0
106
Member Avatar for jetru

I'm using sIFR ([url]http://www.mikeindustries.com/blog/sifr/[/url]) in a website along with some javascript. The javascript makes the sizes of the two divs equal. And the javascript is run on window.onload. The problem is the sIFR seems to get rendered AFTER the scripts specified by window.onload. This means that the divs are made …

Member Avatar for ~s.o.s~
0
63
Member Avatar for still_learning

I was just wondering if there is anyway to do an AREA SHAPE COORDS with an onClick without using an image. For instance, I want to basically be able to click on the page somewhere (not on an image) and be able to do an onClick. Is this possible at …

Member Avatar for ~s.o.s~
0
101
Member Avatar for usagiyuri

Hello, Im having trouble getting a button to link to a banquet page, I know its probably somethign simple but i cant seem to figure it out DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> [code=javascript]<HTML> <HEAD> <TITLE> New Document </TITLE> <META NAME="Generator" CONTENT="EditPlus"> <META NAME="Author" CONTENT=""> <META NAME="Keywords" CONTENT=""> <META …

0
49
Member Avatar for rampicos

#!/usr/bin/perl ########################################################################################## # # # AJAX Cross Domain - ACD # # ---------------------------------------------------------------------------------------# # Full documentation see [url]http://www.ajax-cross-domain.com/[/url] # # ---------------------------------------------------------------------------------------# # Copyright (c) 2007 Bart Van der Donck - [url]http://www.dotinternet.be/[/url] # # ---------------------------------------------------------------------------------------# # For installation procedure, see [url]http://www.ajax-cross-domain.com/#Installation[/url] # # ---------------------------------------------------------------------------------------# # Permission to use, copy, modify, and …

Member Avatar for KevinADC
0
132
Member Avatar for kavithakesav

Hi All, I need help in switch type menu. I have a code for switch type menu (when u click on link sub links will come), but same effect i need on mouse over its self (without clickng i need this effect). Plzzzzzzzzzzzzzzzzzzz

Member Avatar for kavithakesav
0
88
Member Avatar for howslow

I have been reading alot about the Firefox and Iframe issue but really have seen no fix for it. I am sure its a simply tweak in my html but i cant seem to find the fix. I am new to html, I am just using frontpage and everything looks …

0
52
Member Avatar for still_learning

Hello, I have a very interesting issue that I want to solve but I need some help because I do not know if it is possible. I am using some radio buttons on my website, but instead of the user actually clicking a radio button to set it as "checked" …

Member Avatar for still_learning
0
293
Member Avatar for forzadraco

sorry i'm beginner in javascript. I've problem.. i have a listbox with some value. if i selected a value i.e:'success' so another listbox become visible. anyone can help me..? thanks all

Member Avatar for Luckychap
0
79
Member Avatar for trient

How to limit the user to decimal (10,2) when he enters number in the textfield? Can anyone show how to do it in javascript?

Member Avatar for ShawnCplus
0
315
Member Avatar for edmicman

I've just inherited some classic ASP code that apparently uses client side vbscript. The bulk of our code is classic ASP with server side VBScript, but I've always done any client side with Javascript, since as long as I can remember. I didn't even know there was client-side vbscript until …

0
91
Member Avatar for priyadpratheep

Hi friends I don't know much about ajax and javascript.In my project i want to use ajax Please help me. I want to do two drop down list box . when i select first drop down box the corresponding data should be loaded in the second drop down box from …

Member Avatar for ~s.o.s~
0
71
Member Avatar for yangyang

Trying to build a cute little php site statistics script, now I'm stuck with getting the average visiting time on site. How to do that? I'm using JS badge. HTTP is stateless, if that is the case how the server knows when the visitor navigates away? JS onunload?

Member Avatar for yangyang
0
90
Member Avatar for FrankThePostman

Hi, I have list of items on a PHP page, and a <div> for each which i wish to populate with an AJAX request. Each <div> has a unique ID. The code that i am using falls over due to the apparent static nature of this line: [CODE] document.getElementById("full-details").innerHTML=xmlHttp.responseText [/CODE] …

Member Avatar for ~s.o.s~
0
3K
Member Avatar for panther786

Ok, so this is probably something simple, but I'm no javascript queen, so if someone could help me do this I would be so appreciative. I'm using Javascript to rotate the 5 featured stories I choose via a Wordpress plugin. So right now it looks like this: I've put the …

0
65
Member Avatar for sDJh

Hello all together, I've a JS-script that forces the mouse pointer to become a hand. It does work perfectly on IE, Opera, Safari and Konquerer (that's what I've tested so far). Just FireFox doesn't want to change the icon. What's the matter? Here is the script: [CODE]document.getElementById(wid+'0a').style.backgroundColor="#E0E0E0"; document.getElementById(wid+'0b').style.backgroundColor="#E0E0E0"; document.getElementById(wid+'1').style.backgroundColor="#E0E0E0"; document.getElementById(wid+'1').style.cursor="hand"; …

Member Avatar for ShawnCplus
0
141
Member Avatar for hleeperk

In FireFox, in HTML DOM, if I have a Node object representing a specific <tr> tag, is there any way I can get the TableRow DOM object for that same TR? Ok, let me back up and ask the higher-level question. :) In FireFox, how can I get the TableRow …

0
45

The End.