15,698 Topics
![]() | |
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 … | |
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; … | |
I was helping a fellow daniweb user with validation for restricting output to only numerics. Then another user said even it validates a user could copy and paste into the cell. Now that has been annoying me and I have been trying to figure out a way to prevent this. … | |
i have downloaded your coding few hours ago. but somehow i have some problem there which is the calender just won't come out. i had follwed the steps and put the coding at the right place but it wont come out. i need to put a calender in a system … | |
Here is html <asp:datagrid id="mrpDataGrid" style="Z-INDEX: 289; LEFT: 576px; POSITION: absolute; TOP: 512px" runat="server" Width="160px" Height="90px" autogeneratecolumns="False"> <AlternatingItemStyle BackColor="LightGray"></AlternatingItemStyle> <Columns> <asp:BoundColumn DataField="SCHEDULE_DT" HeaderText="Scheduled Date" DataFormatString="{0:d}"></asp:BoundColumn> <asp:BoundColumn DataField="SCHEDULE_QTs" HeaderText="Summed Quantity"></asp:BoundColumn> </Columns> </asp:datagrid> I need to get values of both bound columns to use in calculations. TIA javascript newbie | |
hi all, following code is working fine in mozila but not working in IE. Can anybody suggest compatible code for both the browsers. function UpdateSelect() { select_value = document.form1.selection_1.value; var id = 'hide_this_row'; var obj = ''; obj = document.getElementById(id); alert("object is 1"+obj); if( parseInt(select_value) < 1) { obj.style.display = … | |
How to toggle between a Single window ..: Which is, In one page, I have the video and ppt in it.. If i wanna switch, the windows by a button. Eg: when u click a button, v must be able to see only the ppt and when you click a … | |
Hi everyone, I'm having problem with the sequence of execution for xml.onload. It works fine if your not passing parameters to onload event but my code needs to pass parameter to its function. I'm able to research ablut passing parameters for onload event. However my problem is it only executes … | |
I've come across a bit of a conundrum. Firefox handles DOM manipulation based on the standard which (would'a'thunk-it?) works. However, Internet Explorer does not. So here's the situation. I've got a select box and a remove button which, in Firefox, works as advertised, ie., removes the selected element from the … | |
hello. I have added a command "copy email address" to my IE context menu however I cannot get the script to work. Please help me. | |
Hi, all! Here's another one that's starting to boggle my mind. I have a form that, with a button, adds a bunch of text-fields in a tablerow. For every press of the button another row is added. This works in both IE and FF. No probs. When pressing another button, … | |
hi odd problem with IE and Javascript? when I open my pages using ip (and not host name) thier javascript functions and events dont fire. can any one help? | |
Am using the following code to remove a text box from my site. So when the user clicks on remove_btn.gif a text box row gets removed. [CODE]<html:image onclick="document.getElementById('wishlistForm').action='/wishlist/send.do?method=remove&removeIndex=${status.index}';" styleId="remove" src="${siteImages.imagePath}local/localbuttons/remove_btn.gif" border="0" altKey="btn.altTxt.remove" />[/CODE] Now i want to replace the remove_btn.gif with a normal hyperlink text something like this [URL="http://remove"]Remove[/URL]. So … | |
Hi Can any body help me how to display command prompt results into explorer. | |
Hey all, some of you know me from some of my earlier questions with my css stuff. I recently interviewed for a position for a company who uses ajax. All their AJAX stuff is already built, so, they aren't going to require me to mess with it much at first, … | |
Hi, I would like to make a blok of text appear when the user clicks a hyperlink. Therefor I created a test file in html: [CODE=HTML] <html> <head> <title>InnerHTML - Test</title> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <script type="text/javascript"> function writeEvent(txt){ document.getElementById("infoOut").innerHTML = makeEvent(txt); } function makeEvent(text){ var output return "<table style='border:solid … | |
i want to view image as tooltip of small image on mouseover on that so what is the code for that?using javascript how it can be done? | |
I want a form static box on the page that will link and chg to my poetry links on the side of the page, so that the page wont chg just the box and the choice of the users poem they want to read.... I was googling, but dont really … | |
I have a group of input type="submit" buttons inside a fieldset. I am using javascript to alter the appearance of these input type="submit" buttons when I 'onMouseOver' and 'onMouseOut'. When this happens this changes the size of the fieldset border and expands and shrinks depending on the mouse over/out event. … | |
Hi, i did uploading a file with using <input type=file> but is it possible to upload file without using<input type=file> i am using PHP as server side language Thanks, swapna | |
Hello! I want to open ms-word document on web-site with firefox browser. Is there any pluging or javascript object? I know object for IE -- [code]ActiveXObject("Word.Document");[/code] But i don't know Object for firefox. | |
When you define a variable name same as an IFRAME name, I.E won't be able to get back the iframe. See following example: [code=html] <html> <body> <iframe id='ifLoan' name='ifLoan'> </iframe> </body> </html> <script> var ifLoan=frames['ifLoan']; alert(ifLoan); </script> [/code] In IE, it will display undefined. In firefox, it's fine. So you … | |
I know this is pretty simple but I can't find the answer for it.. say you have an link that you want to connect to.. [url]http://example.com/example1/example2/final.com[/url] and you don't want it hard coded cause you have many other links that will use that path.. say.. [url]http://example.com/example1/example2/final1.com[/url] [url]http://example.com/example1/example2/final2.com[/url] how can i … | |
how can i write a Java Script similar to igoogle style window drag & drop in diferent sections of a web page? |
The End.