20,316 Topics
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] …
I have coldfusion file that I am calling from my ASP page using the response.redirect() method. Inside my url string, I am passing a variable/value pair as shown below. [code] Response.Redirect("http://www.gpsit.com/tools/glr/index.cfm?acctuid=" + accntData.Uid); [/code] The page that I am calling is: [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> …
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 …
Thanks for all the help and advice, I got everything working fine with sessions and what not. Now I am back asking for help writing some scripts if anyone is willing... I am unsure how to write the code, with the exception of the random md5 password which I found …
What are the things you need to be good at to be employable as a Web developer? Are there specific platforms and languages you need to know? How do you get the training?
in html body <form method="get" action="MovieTiming.jsp"> <table cellspacing="0" cellpadding="0" border="2" style="width:50%; height: 400px;" bgcolor="pink"> <tr style="height:4px;"> <td id="Date" colspan="5"> Please input date (yyyymmdd)<input name="Date" type="text" size="8" maxlength="8" value="<%=date%>"></input> <button type="submit" value="Submit">Get Movies List</button> </td> <td> <button onclick=fileWrite();>save file</button> <input type="file" id="loc" name="loc" >[/B]</input> </td> </tr> <tr bgcolor="white"> <td id="output" colspan="10" …
How can hide the menu bar ,address bar with javascript in ie7.i have the code and used in ie6 but it doesn't work in ie7
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 …
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
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 …
Hi, I am new to web design and i want to redirect my webpage to other page if some certain conditions doesn't satisfay. can any one tell me how to do that. Thanks, MHRETABK
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 …
Greetings Everyone, I've found myself being referred to <DANIWEB> from web development-related Google searches quite frequently. So I decided to become a member. I didn't realize the depth of the community and content here until this morning when I was looking up XHTML related issues. Every other search was bringing …
Hi, Can Anyone help me for finding the better option for autocomplete Feature of the Textbox. Its Urgent
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 want to create a chart (pie,linear) and bar diagrams for my project in struts.Anyone knows about this,please help me.Thanks in advance
hello, i need help in getting using one submit button to validate user's input afterr selecting between a textbox or combobox entry: here's my code: <table border="1" bgcolor="#b4beda" style="MARGIN-LEFT: 0px; WIDTH: 645px"> <td><strong>Enter Security #</strong><input id="txtLpId" NAME="txtLpId" MAXLENGTH="5" TABINDEX ="1" style="WIDTH: 90px; HEIGHT: 20px; TEXT-ALIGN: left"></td> <td align="middle"><input style="FONT-WEIGHT: bolder; …
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]
Hi, I am new to javascript using Firefox. I don't know the basic principles of change in syntaxes if i have to make page compatible with FF. We've created javascript which is working fine with IE 6.0/7.0 and safari but it is not at all wokring with FF. Below is …
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.
hey guys... i'm having serios trouble with programming for ie... since i navigate only in mozilla (which in my opinion is more practical, and, in essence, better), i didn't notice my programming didn't render as i pretended in ie, and i don't know where the problem is... i tested my …
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.
Hi frds, I have a page which contains the reference of another page .. <%@ Reference Page="../example.aspx" %> A listbox is there in the example.aspx. I want to call a javascript function, for eg, listbox1.Attributes.Add("onClick", "alert('hi');") that will be shown in main page. Plz help me to find the solution.
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 …
Having a bit of trouble figuring out my image upload script. I have modified this a bit, but I am stuck as to how I can get all the links to be output into one space. [code=language]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title><?=$site_name?></title> <style type="text/css"> <!-- …
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 …
It works in firefox and displays 30 seconds, but when I try it in IE7, the countdown starts at 9 seconds no matter what. [CODE] <script language="JavaScript" type="text/javascript"> var x = 31 var y = 1 function startClock(){ if(x!=='Done'){ x = x-y document.frm.clock.value = x setTimeout("startClock()", 1000) } if(x==0){ x='Done' …
[code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html > <head> <title>Untitled Page</title> </head> <script language ="javascript"> function chkRadio() { column =document.list_photo.hidCounter.value; var total = 0; var file =0; for(var i=1; i<=column; i++) { var objId = "chkBuy" + i; var obj = eval("document.list_photo." + objId); document.list_photo.totalcredit.value = obj.length; …
The End.