14,053 Topics

Member Avatar for
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
99
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
89
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
Member Avatar for n33712

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 …

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

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 …

Member Avatar for DangerDev
0
75
Member Avatar for sagedavis

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 …

Member Avatar for ~s.o.s~
0
83
Member Avatar for n33712

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 …

Member Avatar for n33712
0
96
Member Avatar for hooray

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 …

Member Avatar for ~s.o.s~
0
130
Member Avatar for priddysharp

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

Member Avatar for ~s.o.s~
0
115
Member Avatar for yenyen

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

Member Avatar for ~s.o.s~
0
155
Member Avatar for OmniX

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

Member Avatar for ~s.o.s~
0
1K
Member Avatar for rahimah

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 …

0
64
Member Avatar for sqlchopper

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

Member Avatar for sqlchopper
0
389
Member Avatar for kbhatt_81

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

Member Avatar for DangerDev
0
69
Member Avatar for tryphy

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 …

Member Avatar for tryphy
0
108
Member Avatar for Dennis_Phils

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 …

Member Avatar for MidiMagic
0
80
Member Avatar for ShawnCplus

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 …

Member Avatar for ShawnCplus
0
116
Member Avatar for Anniekin

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.

Member Avatar for JonathanD
0
44
Member Avatar for Oxiegen

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

Member Avatar for ~s.o.s~
0
4K
Member Avatar for raziane

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?

Member Avatar for raziane
0
161
Member Avatar for kaushik259106

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 …

Member Avatar for ShawnCplus
0
75
Member Avatar for snb
Member Avatar for sagedavis

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

0
63
Member Avatar for AbberLine

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 …

Member Avatar for AbberLine
0
215
Member Avatar for manish_gajjar

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?

Member Avatar for kiwisites
1
73

The End.