17,114 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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" … | |
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 … | |
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.*"%> … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
"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 … | |
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 … | |
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 … | |
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...... | |
hello friends I am using this script in my asp .net project using c#. but unable to compile it | |
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 … | |
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. … | |
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 … | |
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 !!!?? | |
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 … | |
[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 … | |
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 … | |
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 … | |
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, … | |
[COLOR="Red"][B]how to validate a textbox( which is in edit mode) of a gridview using javascript[/B][/COLOR] | |
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 … | |
How can I transfer values of two different veriable on a single submit button click to an another page........using javascript & php | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … ![]() | |
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 … | |
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) … | |
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"> … |
The End.