15,699 Topics

Member Avatar for
Member Avatar for lordx78

Hi, How to this type of validation using JavaScript? [COLOR="Green"]Scenario[/COLOR] In my SEARCH page, user was given 5 types of field[COLOR="Red"](drop-down menu)[/COLOR] to choose from. User can select either 1, 2,3,4 or all the field's option to make a search. I know how to do validation field by field[COLOR="Red"](need to …

Member Avatar for lordx78
0
78
Member Avatar for blufab

I am making dynamic changes to my current page's DOM with javascript, and would like to visually inspect the code that was rendered. Is there a easy way to do this? Off the top of my head I was thinking i would have to transverse the DOM and output all …

Member Avatar for swingingstars
0
76
Member Avatar for sbv

hi i am developing a site in asp.net 1.0 for validation i have created a js function where i am checking all controls for null my text boxes are validated with that function but not combos. here is the code i used to validate combos [code] if(document.Form1.cboCity.selectedindex == 0) { …

Member Avatar for sbv
0
105
Member Avatar for cmills83

I am still new to CSS, how would I add a drop shadow around the main conent of this page? [url]www.racexpressions.com[/url] I have been trying for a while but I can't seem to get it to work. Thanks!

Member Avatar for borith
0
261
Member Avatar for hunkychop

what i want to do is this: [CODE] function foo(param1, param 2){ [INDENT]this.bar=function(){ [INDENT]this.intervalID=setInterval(this.fbar,5000);[/INDENT] } this.fbar=function(){ [INDENT]//(do stuff with the properties of "this" alert(this.intervalID);[/INDENT] } [/INDENT] }[/CODE] but setInterval will not carry over the properties of "this". when this happens: [CODE] var apple=new foo(5,27); apple.bar(); [/CODE] i need apple.fbar(); to …

Member Avatar for ~s.o.s~
0
1K
Member Avatar for AaronASterling

Hello, I am messing around with javascript. I am trying to create a function to which i can pass a constructor and recieve back an object. Kinda (read exactly) like the new keyword. call it a learning exercise. I have a working model but i don't like it. here it …

Member Avatar for AaronASterling
0
183
Member Avatar for kaushik259106

Guys check this site.. [url]http://symbian.mobilethemes.com/downloads/info/24346.jsp[/url] If you are not logged in.. it gives a IE tool bar saying "You are not logged in."similar like the ActiveX warning of IE.. Any idea how this was done..

Member Avatar for phper
0
147
Member Avatar for kickinmhl

I am having this compatibility probelm with IE vs. Firefox. The below code works perfectly fine in IE but not in Firefox. Essentially it is a pair of radio buttons and an Iframe below it. I want the Iframe content to change when the radio button option is selected. the …

Member Avatar for ~s.o.s~
0
185
Member Avatar for jugo

I have this code that automatically displays a table with mysql data depending on the selection from a form. I need to add code to make this refresh every 30 seconds. I ave googled this and after trying every single way I know to implement the setTimeout() function, I have …

Member Avatar for ~s.o.s~
0
125
Member Avatar for Gia

Hi. I need some help with arrays in JavaScript. I am creating a slideshow and have to store the images in an array on a separate file. I need some feedback as far as am I missing something in this file and how can I then call this array into …

Member Avatar for HenryGR
0
154
Member Avatar for loboman

April 13, 2008 I have a web-site that is a Google Map mash-up and I place my markers by listing them in the body right after the map loads (in a load function). I convert my data from a spreadsheet to xml and then use a program to write the …

Member Avatar for ~s.o.s~
0
122
Member Avatar for ikabod1973

Newbie to AJAX, I have recently used ajax for my validation handling, and I am planning to add a drop down menu for city and state. Both data are being pulled from two seperate tables in a mysql dbase. I have looked around for sample codes but havent found one …

Member Avatar for ~s.o.s~
0
93
Member Avatar for nishanthaMe

Hi all I am running a chat server on port 5222 at localhost and it accepts xml from the clients. So I am going to develop my chat clients using javascripts hence I would like to know, how I connect to specific port at localhost and sending xml to the …

Member Avatar for plazmo
0
114
Member Avatar for kevin wood

does anyone no how to make an image in IE transparent? my images work fine in Netscape/Firefox but display with white backgrounds in IE?

Member Avatar for Inny
0
97
Member Avatar for Dani

I've made some changes to the JavaScript that powers DaniWeb today. Can those of you who have JS/AJAX/DHTML disabled please enable it and let me know if it corrects the speed problems you were having. Thanks!

Member Avatar for Dani
0
198
Member Avatar for mortalex

Hey guys, I've heard that you can write php code when its combined with javascript, you just need to echo"" out all the javascript functions. So i've done this and it is working.. to a degree. From using Firebug to test the page, the javascript is coming through and it …

Member Avatar for mortalex
0
140
Member Avatar for bungek84

hi guys.. i really need guides and helps about this problem.. i've two dropdown list which contain time.. when user select start time in dropdownlist1, the user can not select same value in dropdown list2..the range time from start time in dropdown list1 with end time in dropdown list 2 …

Member Avatar for MidiMagic
0
68
Member Avatar for Olynsky

Hi, I have a script which collapses the menu, inside its frame. PHP Code: <script language="JavaScript"> function collapseMenu(sectionID) { var obj = document.getElementById(sectionID); if (obj.className == "Collapse") { obj.className="DeCollapse"; } else { obj.className="Collapse"; } } </script> Is it possible to have it expand and collapse outside the frame? For example …

0
94
Member Avatar for 24.abhishek

Hi, I am populating 2 dropdowns in a webpage. the second dropdown is being populated on the basis of the category selected in first dropdown. I am doing it through AJAX/ASP. The code is working fine in Internet explorer but when I open the page in firefox then after selecting …

0
55
Member Avatar for tefflox

[URL="http://listenlight.net"]http://listenlight.net[/URL] [URL="http://listenlight.net/15/huth"]http://listenlight.net/15/huth[/URL] please mail them to me --- <snipped> or if it is pertinent to the question, post on the board. thank you for your continued support :-) ________________________________

Member Avatar for tefflox
0
123
Member Avatar for santoo

Hi, I am using 3 radiobuttons which are disabled by default.I want to enable them when i check an other radiobutton on my form.what is the solution for this. plzz reply. thanks.

Member Avatar for AaronASterling
0
148
Member Avatar for jaepi

Hello there, is it possible for javascript to lock a mouse when you click on a button or a div? I was doing some google search but I failed to find a script for locking a keyboard or mouse. I just would want to add this feature on my site. …

Member Avatar for MidiMagic
0
436
Member Avatar for moose41

Hi all, I'm new here, but I've been designing web pages for a while. I just have a few questions regarding pull down menus. I want to design my own (learn the concept etc.), but I'm kind of confused on what to use to make them: Jacascript, ASP, DHTML? What …

Member Avatar for rafael.franco
0
275
Member Avatar for Killer_Typo

I need help with this script i got from dynamicdrive.com my main issue is, that besides folding out like that, i need it to swap the image too. because i have created open and closed states for each of the buttons on there. i need it to do the current …

Member Avatar for rafael.franco
0
243
Member Avatar for Traicey

Having 0 knowledge in Scripts, I have been binded with this huge project that has to rut at server i.e an ASP.... Have heard about the scripts which are JavaScript and VBscript what I dont know is when do you use Javascript or VBscript is there any circumstances where you …

Member Avatar for peter_budo
0
69
Member Avatar for BluePaper

Seeing as I like being able to have as much control over the things I make as possible it means I will rarely use the inbuilt ASP.net controls (i.e. the login system provided or the inbuilt verification) I will however use the <asp:****> controls in order for my applications to …

0
88
Member Avatar for stealthmode

I made a simple form, now i want the form data to be sent to my e-mail on submit. I have webspace but have i to use php to get the data or is there an easier way with-out the learning curve of PHP?

Member Avatar for ~s.o.s~
0
88
Member Avatar for mortalex

Hey, I have a problem that i have been working on for too long, how can i add rows and remove rows from a form dynamically using javascript? What i need is two buttons, one to add a row and the other to remove the row. How would i do …

Member Avatar for aheman
0
69
Member Avatar for santoo

[B]Hi, I have some radiobuttons which I grouped them as set1..and another set of radiobuttons which I grouped as set2 which are disabled by default.When I click a radiobutton in set1 all the radiobuttons in set2 should be enabled and when I uncheck, all the radiobuttons should again become disabled. …

Member Avatar for Traicey
0
158
Member Avatar for CaptianEO

I am running CFMX 7.0 on W2k server (IIS 5.0) and I am trying to implement some simple ajax calls with the coldfusion pages that return data to add elements to a select box. The problem is every time I get the return data the page includes <!DOCTYPE HTML PUBLIC …

0
46
Member Avatar for Thirusha

I am very new to json and havent used much ojects in javascript. I have created a json object, and after i move through a couple of forms in my app i want to access that same object, is there a way to do it? Any help will be greatly …

Member Avatar for Thirusha
0
102
Member Avatar for CassieJ

Hi, Has anyone had issues using this? I have created a module as it directs but the final result is a link only, not the image with the display. Just thought I would ask the question, would appreciate anyone's input :) Cassie.

0
70
Member Avatar for nishanthaMe

Hi all I am just creating a chap programe for my educational purpose I want to develop a user interface to the chat client as the one in gmail chat (the nice small one).So can anyone give some idea about how to create such user interface and I know litle …

Member Avatar for phper
0
64
Member Avatar for preetisiyer

[code] <%@ include file="header_style.jsp" %> <html> <head> </head> <script type="text/javascript"> MakeHoverable = function(navigationDiv){ var liEls = document.getElementById(navigationDiv).getElementsByTagName("LI"); for (var i=0; i<liEls.length; i++) { liEls[i].onmouseover = function() { this.className += " sfhover"; } liEls[i].onmouseout = function() { this.className = this.className.replace(new RegExp(" sfhover\\b"), ""); } } } function exit(){ var url = …

Member Avatar for phper
0
158
Member Avatar for denniskhor

I using Frontpage, PHP, and JavaScript to do tis project, but i cant make it the b0001 course to match with the STPM result and SPM result requirement. For example, for course b0001 must require STPM result pengajian am C+ more, then other subjects B+ more, if not, the system …

Member Avatar for phper
0
67
Member Avatar for statmatics

I am sure this is old hat to many of you, but it is new to me. The idea is to display a floating menu when the mouse is over a non-positioned DIV item. First, I get the position of the DIV item, which works fine. Then I use style.left …

Member Avatar for HenryGR
0
160
Member Avatar for Gia

Hello. I am new to JavaScript and need to make sure that all of the fields in this form are populated before the submission will go through, otherwise a message needs to popup saying which fields are missing information. Can someone please help. My code so far is: [code=html] <html> …

Member Avatar for ShawnCplus
0
147
Member Avatar for nofullstop

I have this vbscript code in my current project: [code]<% Set cn = Server.CreateObject("adodb.connection") cn.ConnectionString = "FILE NAME=c:\Config.udl") cn.Open . . . %>[/code] How do you translate this in Javascript? I want to be uniform in my codes for the module I'm working on at the moment. I've already started …

Member Avatar for ~s.o.s~
0
67
Member Avatar for maydhyam

Hi All, I am just curious to find out...is there anyone out there who've encountered the same problem or similar...please help me... I got a working .js file, and I tried to edit the code, when I tested my edit, it doesn't work, since the system is already up and …

Member Avatar for ~s.o.s~
0
115
Member Avatar for 5447tina

this form calculates and it works in IE and safari but not in firefox - in firefox everything works EXCEPT the calculation. can anyone pleae help me know why so i can fix it? thank you i am including script first, then the form code: script: [code=JavaScript]<SCRIPT language="JavaScript"> function Calculate() …

Member Avatar for shaikh_mshariq
0
173
Member Avatar for Venom Rush

Hi there I have a form that I'm trying to submit but it just doesn't want to play nice. The form i have has 2 submit buttons. One processes php code that updates info in a DB and the other deletes the info in the DB. The problem is that …

Member Avatar for nav33n
0
171
Member Avatar for sree22_happy

hi friends, I need your help............. I have a div content in my home page.while clicking on that div i need a modal window... i have done that using jquery. In that modal window i need to call accordion java script for sliding menu.... and again i need to use …

Member Avatar for sree22_happy
0
428
Member Avatar for tmt000

Dear All, Here's what I'm interested in doing but can't get working. In my webpage, the user can visualize some information from the database and eventually choose to edit it. (All this is done with AJAX). When the user clicks on "edit" the appropriate <DIV> section is refreshed such that …

Member Avatar for ~s.o.s~
0
95
Member Avatar for ced69
Member Avatar for nathanpacker

Wasn't sure whether to put this in java or php, so I'm putting it here. I have a bit of java that opens a php page in a popup window, using this code: [CODE=java]<a href="javascript: void(0) "onclick="window.open ('my_form.php','linkname','height=465, width=400, left=550, top=150, scrollbars=no')">Click Here</a>[/CODE] So that code opens up "my_form.php" in …

Member Avatar for effu
0
318
Member Avatar for deepakraj

how image verification done by javascript during registration process or login thanks and regards deepak

Member Avatar for hacker9801
0
106
Member Avatar for SandraC

Hi all! I have two functions, one which calls the other (here simplified) that are part of an autocomplete process. The scripts run without error, however the part I am posting here returns "undefined" for one of my variables. The alert in the function findValue() returns the correct "thisID" in …

Member Avatar for SandraC
0
146
Member Avatar for lydia21

[CODE] <?php $hostname = "localhost"; $username = "hi"; $password = "bye"; $dbid = "jesus"; $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or die("unable to connect"); $name1=$_REQUEST['name1']; $result=("SELECT name FROM lydia WHERE nam='$name1'"); while($myrow = mysql_fetch_array($result)) { $first=$myrow[0]; echo $first; } ?> <html> <head> <script type="text/javascript"> function win() { var c='<?php echo $first; ?>'; …

Member Avatar for nav33n
0
81
Member Avatar for hacker9801

Hello. I'm using JS/DOM to create a map in a <div>, named map, like this: [code=javascript]var tile = document.createElement("IMG"); tile.src = "tiles/" + node.getAttribute("type"); tile.setAttribute("width", "32"); tile.setAttribute("height", "32"); tile.className = "brick"; map.appendChild(tile); [/code] It works, but the image breaks on a <br/> (screenshot: [url]http://i28.tinypic.com/6ynu3o.png[/url]) the image is a 32x32 tile …

Member Avatar for hacker9801
0
117
Member Avatar for jamil_vodai

We are using java script to create dropdown box dinamically by clicking button. And we want to show the contents in those dropdown box from database. Is it possible??? If possile then how??? We are using C# in background and ASP.NET in the frontend.

Member Avatar for peter_budo
0
53

The End.