15,120 Topics

Member Avatar for
Member Avatar for Walfort d'Ax

Dear all I have this xml file datechanged.xml: [COLOR=Red]-[/COLOR] [COLOR=Blue]<[/COLOR][COLOR=DarkRed]changedate[/COLOR][COLOR=Blue]>[/COLOR] [COLOR=Blue]<[/COLOR][COLOR=DarkRed]date[/COLOR][COLOR=Blue]>[/COLOR][B][COLOR=Black]04/02/2006[/COLOR][/B][COLOR=Blue]</[/COLOR][COLOR=DarkRed]date[/COLOR][COLOR=Blue]>[/COLOR] [COLOR=Blue]</[/COLOR][COLOR=DarkRed]changedate[/COLOR][COLOR=Blue]>[/COLOR] In a Javascript file I have folowing code: [INDENT][COLOR=Black]var xmlDoc = new ActiveXObject("Microsoft.XMLDOM") ; xmlDoc.async="false" ; xmlDoc.load("datechanged.xml") ; xmlObj=xmlDoc.documentElement ; sDate = xmlObj.childNodes(0).firstChild.text; var chDate=new Date(sDate) ;[/COLOR][/INDENT] I alwas get this error: [INDENT][B][B]xmlObj is null or is not …

Member Avatar for alpha_foobar
0
124
Member Avatar for Walfort d'Ax

Dear All, In my "Javascripts\english" folder I have language related javascript files. In one of these files there is a function I want it to get the return value of a function getChangedDate() from a general Javascript file called changes.js in my "Javascripts" folder. I also want to use the …

Member Avatar for Walfort d'Ax
0
101
Member Avatar for Socram

Please help me on how i can enable or disable the buttons of the internet explorer window, or with any browser using javascript. Thanks.

Member Avatar for tgreer
0
174
Member Avatar for nataliemac

I have a script that I want to write, but I'm not sure how to start, so I'm hoping for someone to point me in the right direction. I'm dealing with a very large form full of very large <select> boxes. (Some select boxes have as many as 30,000 options.) …

Member Avatar for alpha_foobar
0
151
Member Avatar for pavankishore

Hai group, im a newbie in HTML,CSS,JAVASCRIPT.. I was involved in dev of a prototype using the above 3... everything went fine...but the pending requirement is .. when we right click on a row in table in a prototype, we have coded such that a context menu appears..its working fine..but …

Member Avatar for Comatose
0
164
Member Avatar for zbx888

I want to use Javascript to validate user input for last name and first name by regular expression and just allow usa alphebetical letters plus space, apostroph and hyphen such as O'Neill and Lacova-D'elia. How to write regular expression to validate user's input? Thanks a lot! :rolleyes:

Member Avatar for masijade
0
56
Member Avatar for jcmoles

First of all, let me say I am new to this forum. It has been a while since I attempted any programming. I have used vb.net, HTML, vbscript, and javascript in the past. Here is my problem. I am wanting to make a web page with pictures, under the picture …

Member Avatar for tgreer
0
119
Member Avatar for davidpitts

I am (as you will quickly discover) a novice javascript coder. Here is my issue. I am using a radio button, and it works fine. Then when I change some other element on the page, or hit refresh, the radio button does not remain set. You can see it in …

Member Avatar for davidpitts
0
146
Member Avatar for kgonsalv

I want to put about 7 different RSS news feeds in a page. Rather than make an indivdiual page for each I was hoping to have links at the top that as such: World News, US News, Sports, Etc. Those will act as links so when they click on them …

Member Avatar for Troy
0
134
Member Avatar for Edwardobrien

I'm a complete amateur at websites but our golf club delegated the job to me to build their website which I published about a year ago. The problem is; the site is built in a frame (Left Hand Contents) so the left hand navigation bar remains visible. When found in …

Member Avatar for Edwardobrien
0
86
Member Avatar for php4ever

I've never had a reason to use Javascript in a php file before and I'm having trouble getting it to parse. What could be wrong with this. [PHP]$display .= '<td width="105" align=right class=box><input name="p1B1" id="p1B1" type="text" value="'.$price.'" onblur="this.value=eedisplayFloatNDTh(eeparseFloatTh(this.value),2); recalc_onclick('p1B1')" tabindex="1" size="14" class=ee101 >'; //..... and the code below [/PHP] I'm …

Member Avatar for bwest
0
132
Member Avatar for tazaramya

This script works in ie but NOT Firefox. Can someone help me make it work in both. Script just creates and rotates the url that it uses. :mad: <html> <head> <title>Corvallis Calendar - Home</title> <SCRIPT LANGUAGE="JavaScript" type="text/javascript" > <!-- // var myDate = new Date(); var myMonth = myDate.getMonth(); myMonth …

Member Avatar for Nilesh Pagar
0
133
Member Avatar for xsfssg

Hey everyone, I am having trouble with an iFrame expanding to various lengths. [url]http://cornerstonehighpoint.org/home.php[/url] The home page houses the iFrame and all the pages are viewed/targeted in the iFrame to eliminate the Flash navigation/header from reloading. The problem is the length of the content on each page loaded into the …

0
69
Member Avatar for chigasakigaijin

Ok, so it's easy enough to modify element CSS on the fly with getElementById. Problem is, you have to give a unique id to every single element on your page you want to be able to modify. I don't want to have to make over a 100 unique id's for …

Member Avatar for chigasakigaijin
0
207
Member Avatar for csnewsome

A former instructor (process technology) has emailed me with a question concerning a runtime error he is receiving. I am not a programmer and provided him with code snippets for his WebCT environment. He has emailed me and asked a question I cannot answer. He is receiving a runtime error …

Member Avatar for csnewsome
0
142
Member Avatar for jasmineleo

hi there, i'm doing a basic computer science homework and i cannot figure out how to run the javascript on the browser... so i write a program on microsoft word and save as "java.html" under html document, then what do i do to display the contents on the browser??? any …

Member Avatar for web_developer
0
141
Member Avatar for benje677

I have a third party product that I hit a link to from within a .vbs running unattended on a server. Hitting the link starts an update process. When I hit the link, IE opens and the link returns a page that is blank except for the following code. Code: …

Member Avatar for Comatose
0
176
Member Avatar for aparnesh

I am using an image map on my site. Clicking on the image will activate a javascript function. When the mouse is over the image, the status bar show "javascript: <function_name>". I want the status bar to be cleared. I used <IMAGE SRC="MyPic.jpg" USEMAP="#ImgMap" BORDER=0 onmouseover=ShowBlankMsg() onmouseout=ShowBlankMsg()> The ShowBlankMsg is …

0
103
Member Avatar for jefferyylc

I need to produce a 'report' from a whole bunch of different criteria used to generate the resulting document on the web. This will need to be printed to an A4 sheet, but here is the rub - I need to be able to control page breaks. I need to …

Member Avatar for Troy
-1
826
Member Avatar for Chiropractor

Hi, I have a question about Javascript suckerfish menus, but first, I should state what I am using, now: Currently, I am using a standard CGI form redirect to allows users to chose a state. The drop-down menu contains 50 states, and scrolls when necessary to display all the names. …

Member Avatar for DaveSW
0
128
Member Avatar for maxelcat

Hello I have seen lots of sites that have a series of links along the top. You put your mouse on one and a series of llinks drop down. I don't know what this effect is called so I have had "Lots of fun" attempting to search for it. All …

Member Avatar for DaveSW
0
149
Member Avatar for jefferyylc

Hi ALL: I been created a <page-break-after:always> for page break purpose in printing HTML report in order to break the report. But unluckily i found that what i did is known as "hard coded". They want something called "Dynamic Page Break" so that when the report content can automatically fit …

Member Avatar for jefferyylc
0
273
Member Avatar for Kurupt4

Hello Everyone, I have a form (it is for a web based poll) it collects 4 pieces of information: 1) the poll question 2) the amoutn of choices 3) the start date of poll 4) the end date for poll Now when this form is submitted(same script $php_self) it takes …

Member Avatar for Troy
0
122
Member Avatar for sabyasachib

<html> <head> <title>Registration Page</title> <script language="JavaScript"> function a() { document.f1.s2.remove(0); } function add(x) { var boxLength; var selectedItem; var selectedText; var selectedValue; var i; var thisitem; var isNew = true; if ( x == 0) { boxLength = document.f1.s2.length; selectedItem = document.f1.s1.selectedIndex; selectedText = document.f1.s1.options[selectedItem].text; selectedValue = document.f1.s1.options[selectedItem].value; } if …

Member Avatar for Troy
0
137
Member Avatar for bufhal

Hello; I hope an experienced person can help me. Our site: [URL=http://www.attotech.com]attotech.com[/URL] has a top menu that currently works in Internet Explorer but does not in Firefox. I have used HTML Tidy for my index page and now it looks ok in Firefox but not IE. I have reverted back …

0
78
Member Avatar for chan karan

Can anyone help me to solve the problem, i want to pass the parameters between the javascript and asp. [html]<SCRIPT type="text/javascript" LANGUAGE="JavaScript"> <!-- function startWord(par_1) { var oShell = new ActiveXObject("Shell.Application"); var commandtoRun="C:\\Karan\\Automation.exe"; oShell.ShellExecute(commandtoRun, commandParms, "", "open", "1"); } //--> </script> </head> <body> <form> <input type="text" name="par_1" value="123"> <input type="button" …

Member Avatar for chan karan
0
280
Member Avatar for martinkorner

Would it be possible to display only a message e.g. "Page Loading..." until the page has fully loaded, then display the fully loaded page? I don't know if this can be done with Javascript, css or html. Would it also be possible to show what percent of the page has …

Member Avatar for tgreer
0
150
Member Avatar for Aperson

Im after a way to code the following login script in javascript. The login menu is a dropdown offering "log in for"~ select "x"minutes, hours, forever etc. not sure if its possible in javascript?

Member Avatar for tgreer
0
80
Member Avatar for javafan

Hi Please see [url]http://www.proxyslash.com/BuyPixelScript.com.htm[/url] For some reason when I go to the bottom, hovering is not working Source can be viewed using "View source" Please tell me what to do Also, I wanted to ask how to debug in such cases as when I wrote document.write("something here"), the moment it …

Member Avatar for xempth
0
110
Member Avatar for martinkorner

How do I make a button that will bring up the download box for something on my website, without the user having to right-click and select "Save Target as..." :?: Thanks :lol: Martin :lol:

Member Avatar for tgreer
1
1K

The End.