17,114 Topics

Member Avatar for
Member Avatar for edmicman

I'm using classic ASP here, and trying to do some Javascript validation. In my form, I'm dynamically creating checkbox groups - each group has a common Name, and each checkbox has a unique ID. Before the form submits (in the onclick on the submit button) I want to check and …

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

Dear Friends.. I have my ASP .Net project which is done in Ajax .I use AJAX dll in this to avoid post backs.. The thing is, my application runs well in Internet explorer but it doesn't work well in browsers such as Mozilla,safari etc..I use javascript functions in my aspx …

Member Avatar for ~s.o.s~
0
72
Member Avatar for bg370

I've been doing PHP for a while and am starting up on Javascript. Here is what I'd like to do: I need to set up a series of dropdowns. I'd like the first one to be the only one in existence at first. Then, depending on what is selected, I'd …

Member Avatar for ~s.o.s~
0
50
Member Avatar for The_Restore_Lab

I am trying to design an HTML form that has table rows that are dynamically created in PHP, however i need to hide these rows until the user makes a selection. I am totally new to javascript and have only been coding in PHP for a few months now. Please …

Member Avatar for hollystyles
0
609
Member Avatar for balagod

I used the following code for session time out in idle state window. after a minute popup will arise, if user didn't respond alert message within 2 minuts session will timeout . firefox it's working fine. But IE auto timeout in 2 minuts is not working , if user is …

Member Avatar for balagod
0
136
Member Avatar for rrocket

I am using some Ajax tools on my existing site and can get the tools to work, but still have the red lines under the tool names. Any ideas on what the deal might be? BTW - Sorry about the title... I sorted that issue out.

Member Avatar for rrocket
0
68
Member Avatar for sandeep.mk

here i have implemented using frames. main a1.html <script language=JavaScript> window.history.go(1); </script> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Page 1</title> </head> <body> <a target="_self" href="index.html" >Click </a> </body> </html> the next index.html <html> <head> <title>New Page 1</title> </head> <frameset rows="64,*"> <frame name="banner" scrolling="no" noresize target="contents" src="top.html"> <frameset cols="150,*"> <frame name="contents" …

Member Avatar for MidiMagic
0
120
Member Avatar for sreekiran
Member Avatar for Designer_101

Hey I'm having a bit of trouble. I am currently learning php and mysql to access my servers database and collect data. In which i want to use a username and password form. However in the meen time i would like to create one using plain html and javascript most …

Member Avatar for MidiMagic
0
77
Member Avatar for ttamilvanan81

I need to do the slideshow action for the database images. If i get all the images from the Database, i need to provide the slideshow for all those images. Here is the code for i have done earlier. <%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <%@ page language="java" %> <%@ page import="java.sql.*"%> …

Member Avatar for MidiMagic
0
142
Member Avatar for asilter

when the user clicks on a link to download a file form the server, is there any way of getting information whether his download is complete or not? or can there be an exposed active x event handler of download status, so that linking with javascript and AJAX could send …

Member Avatar for Ramy Mahrous
0
67
Member Avatar for balakumar1982

I have a problem as following... # I have stored some value in session to reach a Page "A" # I have other pages "B", "C", "D". # If I am moving from Page "A" to "B", I should not clear my session value but If I am moving from …

Member Avatar for MattEvans
0
174
Member Avatar for rpjanaka

Hi all, I am using AJAX to submit a data from a web page, it is properly working on the local host (when test with the local machine it is ok). When access from another machine the pages are properly lord. But when send data it gives an http request …

Member Avatar for digital-ether
0
336
Member Avatar for Fungus1487

Hello all. Which is the best practice to use when creating dynamic links i.e. onclick events. [CODE]<a href="javascript:somefunction()">click me</a>[/CODE] OR [CODE]<a href="javascript:void(0)" onclick="somefunction()">click me</a>[/CODE] i realise the first is not an 'event' but i have a web app which is displaying 6000 of these links all at one time and …

Member Avatar for Fungus1487
0
2K
Member Avatar for MeeraKotecha

Hello.. I am designing a page in which if i click "call" button the button gets disabled and the timer starts.. This code is in JavaScript..(coz I couldn't write the PHP code to start timer on a button click) Now.. I need to pass the time of the "call" button …

Member Avatar for atplerry
0
147
Member Avatar for wavalker

plz anybody help me i want to use javascripts variables in php but i can't able to do that so sugess me some thing to do that regards mahendra

Member Avatar for kaykays
0
147
Member Avatar for Spycat

"Looks fine in FF, but not in IE" (like no one has heard [I]that[/I] one before!). Ok, I have a more-or-less 2-column layout. The column on the right contains text, all of which displays ok, except for the last few characters of the last line. What happens is, 2 or …

Member Avatar for autocrat
0
135
Member Avatar for Ravenous Wolf

can anyone tell me if it is possible to open and read or write to files by using javascript? basically what i would need is something like random access files and to use them in javascript in the same way that i can in any programming language. or is there …

Member Avatar for stymiee
0
47
Member Avatar for BalagurunathanS

Dear Friends.. I am having an .aspx page in which i have various HTML controls such as text boxes and buttons("OK" and "CLEAR" buttons).By default, when i press the "ENTER" key in my keyboard ,the "OK" button must get fired...But its not getting fired..I need to use the tab button …

Member Avatar for sandeep.mk
0
171
Member Avatar for daniweb_jeet

Hello Members I am having a problem that is i want to access the listbox from javascript(client side) that is in datalist. and also i want to validate that listbox for selection. please help me......

Member Avatar for daniweb_jeet
0
111
Member Avatar for sumit_indian

hello friends I am using this script in my asp .net project using c#. but unable to compile it

0
61
Member Avatar for quintoncoert

hi. i am looking for a free web hosting service. i did search daniweb archives for people who asked similar questions but some of the sites mentioned seem to no longer work while others are just plain unsuitable. i am planning on developing a website which keeps track of Daniweb …

Member Avatar for hbk619
0
172
Member Avatar for kaushik259106

I use the following code to display the user name on the website.. like "Welcome Kaushik" [CODE] <jsp:useBean id="adminUser" class="bss.BSSUserDetailsDo" scope="session"/> <font size="4" color="brown" face="verdana"> <bean:message key="Bss.user.welcome"/> //comes from some property file abcd.property <jsp:getProperty name="adminUser" property="firstName"/> </font> [/CODE] i want to access the user first name from my JS function. …

Member Avatar for kaushik259106
0
106
Member Avatar for smourt

Hello I am a photographer who has created a java virtual tour. I would like to create a situation in which the tour itself is opened via a jumpbox but without all the address navigation etc. I am able to create this scenario using an object and a behaviour in …

Member Avatar for Fungus1487
0
71
Member Avatar for pedramphp

Does anyone knows how to work with prototype ajax class , cause I think this class has everything and there is no use of rewriting the code s !!!??

Member Avatar for pedramphp
0
80
Member Avatar for rinoa04

Hello, I have a doubt about javascript. When designing web based system, usually we used javascript to validate the form. It works fine in IE browser. However, all the validation does not work when tested on firefox browser. Why and what is the problem? How to solve it so that …

Member Avatar for MidiMagic
0
370
Member Avatar for srinivaskota

[I]Hi Experts here, Pls help.[/I] [B]when I disable the button using the code document.getElementById("mybutton").disable=true; it is disabling perfectly but when the page gets refreshed again it comes to enable position so, I need a code even when the refreshing the page also my button is in disable position.[/B] [I]Thanks and …

Member Avatar for MattEvans
0
2K
Member Avatar for andy3250

Please copy this code and run on your editor and see preview, as you can see this when you type user name and press enter, it will [B][U]show text type animate[/U] [/B], these code is under javascripts. Now I would like to change to session variable in php code or …

Member Avatar for pedramphp
0
131
Member Avatar for 3xxx

I like the sample here http://dev.portalzine.de/index?/Horizontal_Accordion--print try to click show 1 , show 2, .... (grey / green) but I don't know how to display different content for different show --- so please help === it should be p (for 1 2 3 and 4) just have to read the …

Member Avatar for 3xxx
0
367
Member Avatar for JeniF

Good day to all! I am working on some error checking and I have run into a snag in my code. Here is what I want to do: Upon Submit, error check field criteria. This code has to do with posting Internal Job Postitions and based on the dates entered, …

0
107
Member Avatar for vinaii

[COLOR="Red"][B]how to validate a textbox( which is in edit mode) of a gridview using javascript[/B][/COLOR]

0
82
Member Avatar for kaushik259106

How to do this type of comparison. Say i have a variable with a word "ABCDEF" and i want to check the combination "DEF" exists in it or not how do i do? I want to make a simple comparison test.. Some friend suggested me the "substring" function but that …

Member Avatar for kaushik259106
0
167
Member Avatar for nil_gh_80

How can I transfer values of two different veriable on a single submit button click to an another page........using javascript & php

Member Avatar for JeniF
0
69
Member Avatar for Designer_101

Hey I'm having a bit of trouble. I am currently learning php and mysql to access my servers database and collect data. In which i want to use a username and password form. However in the meen time i would like to create one using plain html and javascript. I …

Member Avatar for Designer_101
0
84
Member Avatar for MattEvans

As title; unless there's already a way: [code="HTML"] <html> <head> <script type="text/javascript"> function myfunction( ) { alert( "Hello, World!"); } </script> </head> <body> <p>Some HTML code</p> <img onclick="myfunction( );" src="some_image.gif"/> </body> </html> [/code] [code="Javascript"] <html> <head> <script type="text/javascript"> function myfunction( ) { alert( "Hello, World!"); } </script> </head> <body> <p>Some …

Member Avatar for MidiMagic
0
184
Member Avatar for 3xxx

I could not resolve that, can you [url]http://www.daniweb.com/forums/thread88719.html[/url] the 2 main program is -- index.html -- main.js OBJ: I use want to display different content when different TAG is clicked (tabs : show1 show 2 show 3 show 4 (4)) code look like (not too difficult) : <div id="content2" class="content"><div …

0
63
Member Avatar for kaushik259106

Hi friends, The code i attached is used for checking password strength!. I have a html page which calls this. Problem is if i change the following code Code: [code] if (bCheckLowerCase) { strCheck = "abcdefghijklmnopqrstuvwxyz"; if (doesContain(strPassword, strCheck) > 0) { nCombinations += strCheck.length; } } to Code: if …

Member Avatar for MidiMagic
0
70
Member Avatar for kaushik259106

In the following code i am able to change the case of my entered text with each entry of letters.. can you tell how do i dynamically display its length as well without using ajex.. [CODE]<html> <head> <script type="text/javascript"> function length(x) { var y=document.getElementById(x).value document.getElementById(x).value=y.toUpperCase() } </script> </head> <body> Enter …

Member Avatar for kaushik259106
0
120
Member Avatar for mahir78

var a = document.createElement('a'); a.appendChild(dynval); a.href='javascript:void(0)' a.onclick=bindme(dynval) td.appendChild(a) row.appendChild(td) function bindme(bval){ temp=bval return function(){ alert(temp) } } The above code is not complete.... the problem is i am generating dynamic rows inside table's tbody. and i split the rows in to client side pages where each page may display 5 …

Member Avatar for mahir78
0
106
Member Avatar for BalagurunathanS

Hi Friends. I am using javascript to display timer in my .aspx page..I also use javascript to do validations in that page.when i alert the user with a message.i.e when alert function is called,the timer stops and becomes idle.Again when i click the ok button of the message box that …

Member Avatar for ~s.o.s~
0
115
Member Avatar for chan karan

would anyone can help me to solve this problme¬¬ i have to change the password in two system at the same time, one is web system which is designed by J2EE and the other is lotus notes. i have written a vb program for changing the password in lotus notes, …

Member Avatar for shawno66
0
230
Member Avatar for amol0010

I have asked this question earlier, but could not get a reply that worked :-( I have a single login_success.php file where I have written a function IsWithinFixedGeofence(point) { ...... .... ... if ( distance <= MINIMUMDISTANCE ) { return PointsOfInterest[i]; } I want to be able to store the …

Member Avatar for amol0010
0
129
Member Avatar for world_weapon

Ok, so I am working on a simple layout for what I would like to recycle for several purposes. As usual, the code works like a charm in FF but doesnt work exactly the same in IE6. I havent even tried it in IE7. Anyhow, I was trying to get …

Member Avatar for world_weapon
0
147
Member Avatar for newbeein

Hi Experts, I am using mozilla firefox 1.5. I want to delay the page close when the user clicks on the close (X) button of the browser. I want to display something like "Closing Please wait......" for 5 seconds (run a code in the background) and then close the window …

Member Avatar for MattEvans
0
1K
Member Avatar for achilleus

sendmail -F "notify_intab" ${notify_intab} < $mailReportfile when I use my send mail command , the data fetched are somewhat like a table, but the output are displayed in a non-readble manner. Can anyone gimme some edit options in the sendmail command to make the output look like a table with …

0
45
Member Avatar for yasserstein

hi, i've set up several javascript effects on my page, so now i need some controls to have completely loaded before the user can interact with the page. how can i control the rendering times? thanks. yasser.

Member Avatar for MidiMagic
0
113
Member Avatar for yasserstein

hello, i'm working on a news website, where some news headers and text-briefs are displayed, with a link for reading the complete story. i've made a template for this new page that will contain the full article, and i need the user to be redirected to this page to read …

Member Avatar for GreenDay2001
0
68
Member Avatar for jonamasa

Hi, my fitness trainer just asked me to create a homepage for him in exchange for some free hours of training. Now he really can't expect too much as fitness training isn't that expensive, but I know HTML, CSS and Javascript, so I thought I might do something simple and …

Member Avatar for hollystyles
0
63
Member Avatar for Cookie Kumar

Im working in web designing module. My one of the html file has several template samples as well as a link like "Edit this Template". When i click this link, that corresponding template should open with the designing software such as dreamweaver, NVU etc.,( In my case im using NVU) …

0
51
Member Avatar for kumuda

Hi, I have written below code but i do not know how to validate using javascript, cud anyone please help me out. <select size="1" name="hours" class="selectstyle" style="width:40px" onchange="alert(document.modifyschedule.hours.options[document.modifyschedule.hours.selectedIndex].value"> <? for($j=1;$j<=24;$j++) { if($timesplit[0]==$j) echo "<option value=".$j." selected>".$j."</option>"; else echo "<option value=".$j." >".$j."</option>"; } ?> </select> <select size="1" name="minutes" class="selectstyle" style="width:40px" onchange="alert(document.modifyschedule.minutes.options[document.modifyschedule.minutes.selectedIndex].value"> …

Member Avatar for cuchandoo
0
111

The End.