15,121 Topics
| |
Hi, A simple problem for you I hope. I have applied a pre-made javascript to a dreamwever template. It works fine when I preview the template in the browser. When I apply the template to other pages it will not work - the container box shows but it cannot show … | |
I have a page with radio buttons that either enable or disable textboxes depending on the radio button selection. When the user clicks submit the they are taken to a thank you page, but if they hit the back button on the browser the radio buttons both return false and … | |
I asked this question in the HTML and CSS note file, but I think that was the wrong area, so I am placing it here. I have been asked to write some code which holds, or scrolls a bit of content at a fixed location on the screen. I have … | |
Hi friends, I have a little difficulty accessing a textbox value from a function. Here's the code: [CODE] <HTML> <SCRIPT language = javascript> function getdata(f){ var myArray = new Array() for(var i = 0; i < 4; i++){//gets data myArray[i] = f.itemboxes[i].value } for(var i = 0; i < 4; … | |
hi, i have a form with 3 radio buttons and one submit button.on clicking submit i want to navigate to page corresponding to the radio button selected.How can i achieve this?.. | |
how can i get y coordinate of browser window after scrolling? | |
i want to have my page scroll to a position smoothly, i use javascript scrollIntoView method to provide scrolling for the page, but it moves suddenly. i want the user to keep trace of where she/he is scrolling. thanks in advance | |
Hello everybody, I was just trying to understand why IE 6 displays this horizontal menu offset to the right some. I think it will display properly in IE7, and I know for a fact it shows up the way I want in Mozilla/Firefox. Basically I wanted the menu to be … | |
Hi The following code is part of a program i have written: for (var count = 1; count <= password.length-2; count = count + 1) { document.write('*') }; What i want is for the output of the above (which would be a number of characters the password is minus 2 … | |
hello, i have what i think is a novice javascript problem, all help is appreciated. i'm trying to run a couple of the same scripts with different arrays on the same page. the scripts are running fine, the problem is they're both grabbing from one array. normally these scripts live … | |
Hi friends, i have a problem in ajax.The code will get values when i use IE but it doesnt work with mozilla browser.It showing the alert message ? I am adding the code along with this.Expecting the reply soon. var xmlHttp; function getXmlHttp() { try { xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } catch … | |
I create dynamic bottom like this: [code] formElement = document.createElement('input'); formElement.setAttribute("type", "button"); [/code] after this I can see button. Next code line not working on IE only, why? And where is mistake [code] formElement.setAttribute("onClick", "buttonfunction()"); [/code] | |
Hello Everybody, I am new to javascript programming. I want some help regarding this. I want a javascript code in which it should disable fields automatically when we onload a page. | |
hi friends i have a problem in previewing image in mozilla browser.I will give the code. [code] script code <script type="text/javascript"> function loading(img) { document.getElementById('disp').src=img; } </script> [/code] [code] jsp page code <html:file property="productImage" value="${product.productImage}" styleClass="sni_input" onchange="loading(this.value)"/> <img src="" id="disp"> [/code] only few codes are written.I think you can understand … | |
Basically I have a table that I generating using javascript. I wrote a function to build the row and I call it a bunch of times with different parameters. I know the individual functions work because I can pull them onto their own page and attach them to an onclick … | |
How to pass a form value from one to another form in javascript? I am using Velocity templates. | |
Hi , can any one tell me how to disable the back button in asp.net i have done like this <script > window.onlad = "window.document.forward(1)"; </script> but no use...is there any other way to do this. | |
Hey everyone, this is a very tough problem I am facing right now in JavaScript. I'm designing this script to load a page like an IFrame but is using AJAX, the only problem is that I need to edit certain attributes before displaying them through changing an element's innerHTML attribute. … | |
Hi, I'm having problems with a tab content script/css in the way it displays in Firefox. [url]http://www.godirect.com.sg/etravel3/test/etravel.htm[/url] It looks perfectly alright in IE, but in Firefox the big shaded tab on the far right just wouldn't line up. I have used 'html>body' for Firefox so the layout in IE remains … | |
Its been a while but I need your help on this one Daniweb...I am creating request forms (i.e. Conference from Reservation Request, Software & Hardware Installation requests, Network Access Request, etc.) Forms using Code 5 System ([url]www.code5systems.com):[/url] 1. I have a form for Conference Room Reservations. There are 6 conference … | |
Hello, The function, as follows, to initiate an effect to fade an image in from the background, works fine, yet I am unable to, or just too worn out right now to research it properly. The source documentation is somewhat crafty, you know. However, the effect I wish to apply … | |
I am trying to circumvent the whole "javascript can't read files, that's server-side" thing. basically i have a order form with a table inside it. I want to be able to load the rows of the table dynamically when the page loads. I am trying to get the "product" information … | |
In my site I want to have my start page load with a video on it that when it is done switch to another page. Is there an HTML command that I can put in to do this.... I am new to building sites so any help would be appreicated.... … | |
I need to retrive value of the variable to which has been assign value on click event. The value is dynamicaly read from xml. I know that correct value is assign to propertyNum as I tried command [ICODE]document.write(propertyNum);[/ICODE] after value assign to just check it. [code]<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" … | |
Hi Am writing some code for which takes down new members information and creates them a username etc. It's all gone well apart from one bit of coding that i am having trouble with. When a user types their chosen password in, say....STEVEN.....then on the summary page at the end … | |
Hello friends, I need help with a simple program written in HTML using JS. I have a form which contains a table(using table tags) which has 4 rows and the last column has text boxes. ie. 4*4 What I want to do is take the values from the text boxes … | |
I am constructing survey page for a client, and it's getting extremely long winded. There are 290 questions and all are required. This means, typing out huge amounts of stuff, obviously, but, I was wondering if there was a sort of "easier" way to do this. This survey is one … | |
Hi Have a problem writing what i am sure is simple Javascript but have been trying to get round a problem for ages. The program asks the user to enter either 1 or 2 (there is a window prompt to say what option 1 and 2 are) When they enter … | |
Hi , How to write the database connection(insert,delete or select query) within javascript function.Is it possible.Anyone can you help me Thank you | |
Hi I have some code here that fills a dropdown box from an array depending on what is selected in another dropdown box. One of them is disabled, and i would like to stop that once an option has been selected. This is the Javascript: [code=javascript] function fillStates(opt){ s=document.f.states.options s.length=stateNames[opt].length … |
The End.