15,127 Topics
| |
Hello, I have a link that carrys out a DHTML function within my page, and once this link is clicked, i use the following js to change the text of the link. In an external js file [code]function exp(obj) { var el = document.getElementById(obj); el.innerHTML = 'This text has changed!'; … | |
I have obtained the following script which only lets a page load if the visitor has been to the previous page, if they haven’t it sends the visitor to the appropriate page. However, it only works in Mozilla. Can anyone help me adapt this script to work in Internet Explorer? … | |
how can we call a serverside code using javascript[B][/B] | |
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.*"%> … | |
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 … |
The End.