15,121 Topics

Member Avatar for
Member Avatar for vsr

Hi All, I have a webpage written in c# asp.net. The page has a datagrid and a print button. The print button has the javascript onclick="javascript:window.print();" I want to be able to change the print preference to LandScape. I tried using CSS but because I have a datagrid its not …

Member Avatar for ~s.o.s~
0
193
Member Avatar for Kusno

Dear all, I get problem with this ASP.Net form. As you can see in the sources, I have Check Box (ChkAllCustomer), Combo Box (CmbDept) and Command Button (CmdLocateCustomer). And to avoid postback I use JavaScript event instead of Anthem.Net. Everytime user clicks ChkAllCustomer.Checked = true, CmdLocateCustomer enable property is set …

Member Avatar for Kusno
0
169
Member Avatar for Arch_Bytes

is there anyway to get the cookie and destroy it in javascript? Thanks in advance!

Member Avatar for MidiMagic
0
93
Member Avatar for RationalRabbit

Hi! My page has a list of products. Clicking on one of these product images brings up a detailed information iframe popup with interactive photos and text. The information is stored in a MySQL database, accessed with PHP. I've struggled for hours to find the best way to open and …

Member Avatar for Fungus1487
0
139
Member Avatar for kahaj

I'm trying to create a page that has a button at the end with a check box before it. Unless the check box is checked, it shouldn't carry through with the link. I absolutely cannot get it to work. I've been toying around with it for over a half hour …

Member Avatar for ~s.o.s~
0
120
Member Avatar for drsmith

I have a .php page that writes data to a MySQL db when the user hits "submit". Anyway...to make sure the data on the .php is the latest in the db I would like to use an auto refresh javascript. I have a free one that works great but I …

0
71
Member Avatar for kahaj

How do I insert a link to another page to the pressing of a button? I'm assuming it would be via the onclick event, but can't seem to get it accomplished in a manner which will actually work.

Member Avatar for ~s.o.s~
0
130
Member Avatar for lpaino@rolands

I am using Dreamweaver Tabbed Spry Panels I get an error message on the pages in IE "style is null or not an object" Does anyone know why this happens and how to fix the problem?

Member Avatar for lpaino@rolands
0
125
Member Avatar for Jwallis

I have a page where three funds add up to a total and need it to have decimals, but don't know how to get it to. I need the total to have decimals in the amount field in the form so it will properly pass to the processing website. it …

Member Avatar for MidiMagic
0
70
Member Avatar for kahaj

Where do you put the links when you have 5 different banner ads that rotate on a fixed amount of time? It's obviously not around the <img> tag in the body, because that links all five banners to that one single URL....

Member Avatar for Inny
0
991
Member Avatar for amaravanich

Hi all, I have to create a check box in javascript i just created the checkbox field and called a function in onclick.but onclick event is not firing.i'm getting an error indicating that chkbox has no properties.i have to fire an event on click this checkbox can anyone please help …

Member Avatar for yurj
0
134
Member Avatar for Dani

What do you guys think of JavaScript-heavy forums such as DaniWeb? Would you rather spend time on a forum with a very unique skin and all the bells and whistles, or something very simplistic and standard that's quick loading and far less confusing?

Member Avatar for Dani
0
134
Member Avatar for kahaj

I'm trying to get this banner ad to rotate every 5 seconds. I'm obviously not doing something right, but can't figure out what it is that I'm messing up. Here's the code: [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" dir="ltr"> <head> <title>Case Projects 4-2 …

Member Avatar for kahaj
0
232
Member Avatar for realtureal

I made a simple javascript code but I am having problems validating the email. I am simply lost on how to do this. Can anyone help me on this? :rolleyes:

Member Avatar for TopDogger
0
356
Member Avatar for tryphy

Hi all, I have 2 option button, lets say A and B, When A is Chosen, B must get deactivated. And also when A is Chosen an image appears above the option button... I am not that good in Javascript.. The choise of selection can be anything either option button, …

Member Avatar for tryphy
0
108
Member Avatar for Inny

Hello again, Im using the code below in a child page (popup), the images are called from the parent page. When the changer is running, the child page goes white between images. I realise this is happening because the Images are not cached (yet) on the users browser. I tried …

Member Avatar for Inny
0
80
Member Avatar for movcol

Hi, This clamshell menu code works fine in IE and Safari, but level 3 does not work in Firefox. When I click on 3-Level Menu - Level 2, the menu closes. Clicking on 3-Level Menu - Level 1 again shows the level 3 items were indeed opened. The 2-level menu …

0
262
Member Avatar for kevindougans

Hello, I hope someone has the time to help me. I have a form that lists a variable price in <input type=hidden name=price value=1> I have a drop down box letting the user choose a quantity in <select name=quantity> <option value=1>1</option> <option value=2>2</option> etc... I have a html form input …

Member Avatar for kevindougans
0
939
Member Avatar for swtgirl52687

Hi I am currently taking an XHTML class and we are now dealing w/ JavaScript and for some reason I am having the worst time trying to set this assignment to where the scrollbar color is what I set it to. I am using internet explorer 7; for some reason …

Member Avatar for MidiMagic
0
97
Member Avatar for Cosmocrazy

Hi guys. I know that the web has this magical thing called JavaScript which makes making some types of web pages much easier. I was wondering if you could help me by providing a code snippet or something for this situation: I am making a site for my art teacher …

Member Avatar for somedude3488
0
82
Member Avatar for Barefootsanders

Hey everyone, I'm working on some javascript code. What i have now is a list box that contains certain elements and another list box, blank at the moment, next to it. I want, when someone clicks an element within the first list box, that in the background, a MySQL statement …

Member Avatar for lookof2day
0
101
Member Avatar for vsr

Hi I have a .aspx page that contains some javascript so that when a user presses a checkbox another cell in the datagrid is filled with the current date . That works fine My probelm.... when I have the user press the update button (which does a post back that …

Member Avatar for vsr
0
179
Member Avatar for rmk108

[code] function newCC() { var modalUrl; var vID; modalUrl = 'ccNew.aspx'; modalFeatures = 'dialogWidth:48; dialogHeight:29; status:0; help:0'; var vID = window.showModalDialog(modalUrl, 'UDI', modalFeatures); if(vID != 'Close') { document.getElementById('txtGoID').value = vID; document.getElementById('txtGoTgt').value = 'ccNew'; __doPostBack('lnkbtnGo',''); } } [/code] hi, In the above code i am usind " window.showModalDialog()" which will redirect …

0
50
Member Avatar for rrocket

I am trying to submit a form with .submit(), but I am having issues passing the values from my form... Here is what I have so far: [code=c#] <TITLE>ASPXTOASP.aspx</TITLE> <script language="C#" runat="server"> private void Page_Load(object sender, EventArgs e){ //We grab all the session variable names/values and stick them in a …

Member Avatar for MattEvans
0
126
Member Avatar for Robbins

So basically, I am wondering whats wrong here.... I have 4 links inside table cells and each has a class assigned. the tab that is active is assigned "sel" while the others are "nav" ... what i'm trying to do is have them switch classes without changing the page using …

Member Avatar for ~s.o.s~
0
154
Member Avatar for meangreta

I looked at tons of previous threads, and didn't find anything to help with my specific need. I have a page where I want to swap a large image using navigation AND pass text related to that image to the area underneath. ([url]http://vinegar-works.com/casestudies.html)[/url]. I used layers to show and hide …

Member Avatar for meangreta
0
229
Member Avatar for hbmarar

Hi, Is it possible to change the language of the button labels? I need to put custom labels to the buttons shown in the confirm window instead of 'yes' or cancel. Please give me some pointers or tips or sample code to refer.thanks in advance... i had been trying hard …

Member Avatar for ~s.o.s~
0
105
Member Avatar for Dennis_Phils

Hi all, its me again..I'm a newbie in javascript. I'm having trouble with the bold style in my javascript. It works fine in IE but not in firefox. Here's a code snippet of what I did. var anchoryou = new Array(3); anchoryou[0] = document.getElementById('First'); anchoryou[1] = document.getElementById('Second'); anchoryou[2] = document.getElementById('Third'); …

Member Avatar for ~s.o.s~
0
102
Member Avatar for hoaivanapt
Member Avatar for melles

This is driving me mad. I have a div on a page and am using a call to a function which uses <code>new Ajax.Updater('obj','page')</code> in an attempt to load content. All is well in Firefox but, no matter what I do, I can't get IE to do anything. I'm missing …

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

The End.