15,120 Topics
| |
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.*"%> … | |
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 | |
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 friends I am using this script in my asp .net project using c#. but unable to compile it | |
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 … | |
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 … | |
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 … | |
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 … |
The End.