15,127 Topics

Member Avatar for
Member Avatar for hbmarar

I got a imterface as attached. The image on default would be no image. when the user uploads an image, i need to know how to strip the defailt image and then use the ajax to update the new image uploaded in there. Any ideas.. i know it is possible.. …

0
77
Member Avatar for LogicWeb

Hello, I was informed (or suggested at least) to setup some method of javascript fallback. I'm not a programmer / designer by trade but I had to finish off the site design for my site due to the original freelancer not completely the job as promised, and paid for. [url]www.logicweb.com[/url] …

Member Avatar for serkan sendur
0
100
Member Avatar for redgoals

Hi, I have searched the forum for a similar problem but have been unable to find anything. What i am trying to achieve is a dropdown menu which behaves in the following way: 1, Someone selects an category from the first dropdown menu 2, if the category has subcategories then …

Member Avatar for peter_budo
0
87
Member Avatar for n33712

Hi Was wondering if anyone can tell me why the code below does not work! I am presuming it is something to do with the array but can't figure it out. Thanks var userpasswords = ['sooty', 'plane', 'sandra', 'football', 'laundry']; var password; password = window.prompt('Please enter your password','') while (password …

Member Avatar for ~s.o.s~
0
81
Member Avatar for fikka

Hi, I was using example of autocomplete function from this site: [url]http://www10.brinkster.com/a1ien51/jsExamples/typeAhead.html[/url] But I have to change it a little bit, so there is a question: I have 2 text boxes - theTextBox1, theTextBox2 and 1 array ar = new array ([“xxx1

Member Avatar for navyjax2
0
315
Member Avatar for hooray

I am a Javascript newb, and I am haveing some trouble with my arguments. [code=javascript] function openMenu(tableName) { document.getElementById(tableName).style.visibility="visible"; } [/code] This is the code i have, and it is working perfectly on the different menus at the top of my screen. The problem i have is with my table …

Member Avatar for ShawnCplus
0
126
Member Avatar for islandbreeze

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 …

Member Avatar for islandbreeze
0
193
Member Avatar for rrocket

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 …

Member Avatar for digital-ether
0
147
Member Avatar for rouse

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 …

Member Avatar for DangerDev
0
72
Member Avatar for abhi_elementx

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; …

Member Avatar for ~s.o.s~
0
117
Member Avatar for Ankita B

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?..

Member Avatar for ~s.o.s~
0
79
Member Avatar for serkan sendur
Member Avatar for serkan sendur

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

Member Avatar for serkan sendur
0
107
Member Avatar for world_weapon

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 …

Member Avatar for world_weapon
0
92
Member Avatar for n33712

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 …

Member Avatar for n33712
0
94
Member Avatar for moestavern

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 …

Member Avatar for serkan sendur
0
82
Member Avatar for sree22_happy

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 …

Member Avatar for sree22_happy
0
215
Member Avatar for bogdangwawa

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]

Member Avatar for ~s.o.s~
0
84
Member Avatar for anupamamk2005

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.

Member Avatar for serkan sendur
0
75
Member Avatar for sree22_happy

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 …

Member Avatar for sree22_happy
0
223
Member Avatar for toadzky

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 …

Member Avatar for toadzky
0
84
Member Avatar for xsorimachi

How to pass a form value from one to another form in javascript? I am using Velocity templates.

Member Avatar for DangerDev
0
35
Member Avatar for kavithareddy

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.

Member Avatar for MidiMagic
0
90
Member Avatar for Lee-Pro

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. …

Member Avatar for Lee-Pro
0
124
Member Avatar for Ekiena

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 …

Member Avatar for Ekiena
0
101
Member Avatar for Fasola

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 …

0
73
Member Avatar for tefflox

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 …

0
67
Member Avatar for toadzky

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 …

Member Avatar for ~s.o.s~
0
69
Member Avatar for carlco9020

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.... …

Member Avatar for ShawnCplus
0
91
Member Avatar for peter_budo

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" …

Member Avatar for ~s.o.s~
0
151

The End.