Accesing child DOM

1086 byte By tech_talker at 2007-12-5 22:11:21
I have created a browser application. The application works as follows.The user clicks a link on the left ;This action is hrefed to a another htm page(b) that has two inlined frame one of which is disabled. So basically another htm page(c) opens up in the visible inlined frame.The page b has two sub...

script to continue after log off

363 byte By oja at 2007-12-4 23:56:44
hi.may i ask your opinions how can i make my script continue to run after each log off/logon for n times. my script only logs off user then logs on again then get some information from task manager and record it to a file.but unfortunately after logging in again, my script stops. :(really need your...

loading control problem

558 byte By mwong7025 at 2007-12-4 10:39:08
I found out the problem of the my MSChart OCX control loading problem in IE. After I installed the Visual Studio 6.0 to the machine, then it works. Now I need to find out what component or things added by Visual Studio that makes the OCX work. Can anyone help me on this?I should mention that even...

VBscript,Plzz help

617 byte By shewale.rohini at 2007-12-3 19:25:42
Hello, I have a textarea html tag inside a page, and I want that every time that the user press the enter key inside a textarea an event will be fired. How can I detect that the enter key is pressed ? I know that the onkeypress event is fired everytime that the user press any key, but I wa...

XMLHTTP and session sharing

125 byte By Sonin Nickolay at 2007-12-1 0:34:52
I wonder if Microsoft XMLHTTP component can share http session with IE hosting it? If yes how can I make it use this session?

javascript include

237 byte By dmeikle at 2007-11-29 14:56:14
what is the exact syntax of a javascript include?<br/>I thought it was:<br/><script language="javascript" src="../includes/myfile.js"></script><br/>but that doesn't seem to be working for me<br/>David

cross browser modal+chromeless window/popup

104 byte By saiKamat at 2007-11-27 0:19:14
i urgently need a cross browser code to make a window/popup chromeless as well as modal <br/>tks<br/>Sai

Reload(refresh) last page in history

77 byte By BeachBum at 2007-11-25 11:49:49
Is there a way to call the last page (back) and refresh it in the same click?

Spammer sneaking javascript on page

457 byte By tcmagnumpi at 2007-11-25 11:48:36
I recently went to a site and being the nosy coder I am I checked the source to see if there was any javascript being used to grab info or otherwise spy or spam. There was a javascript being linked to and I grabbed the code. I'm not very good at javascript so I wanted to see if anyone on this...

change just the value of a hidden field in a form

768 byte By rogernem at 2007-11-25 11:47:52
I have in my form a hidden field<input type="hidden" name="field" value="1" id="field">Id like to know what I have to do to change just the value of this field. 1) Ive tryied with: document.getElementById('field').value = "2";Didnt work2) Ive also tryied with:<div id="field">1&...

Dynamic Form using Options

1601 byte By Culperat at 2007-11-25 11:44:48
The basic idea of what I'm trying to do is let the user choose an option of a category to search by. However, one of the categories that has been asked to be included is suppose to be limited in what can be searched.<form action="search.php" method="post" name="search" id="search"> &...

Freezing Header of the table

303 byte By haifriends at 2007-11-25 11:44:16
Hi,I'm using JSP to display the content from the database in the form of Table. Table Rows and Columns are not statis, it may vary..I want to Freeze header of the table. I'm using MAC OS and using Safari as my Web Browser.Can anyone guide me?-haifriends...

JavaScript to recolour keywords in an HTML page in realtime

2783 byte By Seymour Clufley at 2007-11-25 11:42:27
Hi,I'm a complete beginner with JavaScript, but I've found a snippet of code that does (almost) what I want.<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Highlight test</title> <script language="JavaScript" type="text/...

get web browsers url string

286 byte By Xeel at 2007-11-25 11:41:50
hi,<br/>does anyone know how to get web browser's url string from the main window running the script in the same window? tnx<br/>sry, spent 3hrs yesterday looking for php/java/js solutions for this, and now with fresh head found the solution in 5 min:<br/>document.URL =)

[FLASH] Web Radio player

1001 byte By GordonFreeman at 2007-11-25 11:41:47
Hello,i've made a simple flash application with Flash MX 2004 that plays MP3 LIVE stream from a web radio.It all works properly if i execute the compiled SWF file with FlashMX, but if i embed it in an HTML page, it won't play sound!strange uh?and, the more curious thing is that after havin...

How to check if javascript has run in codebehind ( c# )?

424 byte By Visslan at 2007-11-25 11:35:01
codeInfront:<input type="button" onclick="JavaScript:clearSelections();" name="clear" value="Delete"/>codeBehind:public void Page_Init( object sende, System.EventArgs e ){ if( ?input button has been klicked? ) { .... }}In my code behind I want to reset an object when the button has...

ActiveX plug-in

578 byte By ryu at 2007-11-25 11:34:51
Hi GURUs,I have created an ActiveX plug-in for client. When the client go to the website, it will automatically detect whether the my ActiveX plug-in is available or not. If not, it will direct the user to download the plug-in from my URL.Everything works fine, but I saw some program (such as Flash)...

help with popup menus and passing arguments..

1249 byte By gsatyaprakash at 2007-11-25 11:34:00
In the foll. code right clicking on either 'Plz rt click on it' or 'Another rt click' opens the popup menu but once i am in the pop up menu how do i know which description element was possibly responsible for the opened up popup menu..in fact i need to value of the description el...

Validation on Text onblur

337 byte By rodin at 2007-11-25 11:33:53
Hello, I would like to excecute some validation code when the user tabs out of the Textbox .i have written the code inside the onblur() event of the Textbox. But when the user clicks a button with the focus remaining inside the textbox , i would like to avoid execution of the validation code.how can...

help with <description> element

489 byte By gsatyaprakash at 2007-11-25 11:33:33
I need to perform some action when the user clicks on the description element in the box. Is it possible to associate a function with the description element and printing the value of the description element from which we came from in the function called. like<description value="hello" somehandle...

xhtml form with selection list

494 byte By shipwreck99 at 2007-11-25 11:31:43
I need to create a form which uses an appropriate input device (eg. text box) which will allow the user to select the basis for a search. the user should be able to choose between the following options:*customer last name*customer number*order numberso when the user selects one option or a radio but...

add buttons to control my displaying

1235 byte By zhshqzyc at 2007-11-25 11:30:56
hello, I want to add buttons to control my displaying.Would you please give me an advice?Here is my incomplete code. Thanks<head><!-- Head Scripts --><script type="text/javascript" src="/skins-1.5/common/ajax.js?97"></script><style type = "text/css">#firstp {color : #0...

simple html code

383 byte By hkullana at 2007-11-25 11:29:24
hi,i need to learn a simple html.I am using a link which runs "OnClick.exe". I used the line below;<A href="OnClick.exe"> Start</A> instead of a link i want a .gif file appears. So; what i want to do is when i click on a picture ("sample.gif") the "OnClick.exe" is run. Thanx for helpreag...

[RESOLVED] Relocate Window?

122 byte By Visslan at 2007-11-25 11:28:47
Hi!<br/>I want the button click on an alertbox to relocate my application to another page. Can anyone help me please?

resize div height

1183 byte By jasonli at 2007-11-25 11:27:24
In html page there is only one div. I want div to resize while user resizes the browser window. Html code is as belows:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns=" http://www.w3.org/1999/xhtml" ><...

How to make div-windows z-index refresh?

18187 byte By Samuell at 2007-11-25 11:26:58
Bonjour, everybody!) I recently set up this script for my purpose and found small bug. When I open(create) few windows they appears in right order: new ones appears over previews according to their z-indexes. But when I close all windows they just become hidden and when I open them again in another...

ajax post algo

1382 byte By Mitsukai at 2007-11-25 11:24:06
there might not be really a name for this, i just call it thisi made an "algorithm" that replaces {X} in my html file with the table data returned from PHP. i however cant seem to get it to work... i think it should work but im new with RegExp in javascript and i might be doing something wrong im no...

[RESOLVED] getElementsByTagName help

615 byte By Visslan at 2007-11-25 11:22:52
Hi!I want to check if the input fields in the element, elem (a radiobutton), is checked. This is the code I've come up with so far. But it's not right can anyone please help me with this.if( sender.checked ){ elem.style.display = 'block'; inputArray = elem.getElementsByTagNam...

Keep a value on page refresh

1182 byte By Steve Putt at 2007-11-25 11:20:22
I used FrontPage Database wizard to create a page showing results for a queried date from a database of dated events. I'm using javascript to get today's date on page load ("var CurrentDate = new Date()"), a var QueryDate formats CurrentDate data to match my database field and stores it in...

Expected: End of Statement

843 byte By Broodmdh at 2007-11-25 11:18:08
I hope that I'm not posting this in the wrong forum. I am getting this error thrown when my page is executing some vbscript. The script is actually built and written to the page from the code of the asp .net page. When the code isn't written (as is sometimes the case), the page work cor...

How to add events to HTML Listbox at runtime

502 byte By Me_Himanshu at 2007-11-25 11:17:44
Hi all... I want to add a particular event to listbox ...my listbox name is 'ListAudioIn' and i am trying oOption = document.createElement("OPTION")oOption.text = "real player"oOtion.value = 0;ListAudioIn.add(oOption);And i am getting an error: ListAudioIn.add is not a function...

[RESOLVED] [JavaScript] Value Enter Issue

1454 byte By chunks at 2007-11-25 11:17:10
one of my friend mailed me about this help and i could not help him. please save this as .htm and pls tell what value should be entered in the Textbox to get the Alert Correct <html><head><title>Solve It</title></head><body><center><h1>Can You?</h1&...

help with iframes...

909 byte By gsatyaprakash at 2007-11-25 11:17:00
I split the main window into 2 frames vertically using iframe in xul...i dont know how to write to the first frame using the document.write function. how do i get the handle to the document of the first frame..plz explain me with little example code...<?xml version="1.0"?><?xml-stylesheet h...

problem with document.getElementById();

1893 byte By gsatyaprakash at 2007-11-25 11:16:52
Even though there exists an element by name 'outbox' in my style sheet, the getElementById() fails to return the handle... plz explain me why...this is bugging me since 7 days...here i need to do 2 things1. i need to write some data to the window using window.document.write,2. i need to dy...

Two-state button problem.

1083 byte By sakurazuka at 2007-11-25 11:16:44
Hi all!I'm trying to make two-state buttons. For that purpous I've used this code:window.onload = rolloverInit;function rolloverInit() { for(var i = 0; i < document.images.length; i++){ if(document.images[i].parentNode.tagName == "A"){ setupRollover(document.image[i]); } }}function...

media player question

1790 byte By davidjmorin at 2007-11-25 11:16:23
how do i change the following code so that i can have a list rather then a dropdown box that loads into embedded player? The dropdown will load into player but i dont want a dropdown. any help? <html><head></head><body bgcolor="6699cc" ><center>WILL ONLY WORK IN INTERNE...

Headers And Footers

48 byte By jyovasinedu at 2007-11-25 11:15:41
how can i set headers and footers in a html page

Image Slideshow. Confused..

1928 byte By Petras2007 at 2007-11-25 11:15:07
Hello, I was wondering if anyone could help with this issue I'm having. I need to create an HTML based website which rotates images every x seconds; however I need to use java to code it. Presently I have var dimages=new Array();var numImages=7; dimages[0]=new Image(); dimag...

css; firefox vs ie; margin&padding&size

404 byte By Mitsukai at 2007-11-25 11:14:47
i have this cssDIV.border{ -moz-opacity: 0.85; background: #999999; border: 1px solid black; filter: alpha(opacity = 85); margin: 2%; opacity: 0.85; padding: 2%; width: 100%;}it shows fine in IEbut in firefox its strectching beyond padding and margin...for firefox i must set width 92% and ie 100%......

firefox disabling selecting

476 byte By Mitsukai at 2007-11-25 11:14:05
hi i have disable selection by overriding mouse events.. however i can still select evrything using CTRL+A.is there any work around..?document.onselectstart = function() { return false; }document.onmousedown = function() { return false; }document.onclick = function() { return f...

Loading Reporting Services EXCEL or HTML4.0 output

177 byte By BrinkSr at 2007-11-25 11:12:58
How do I load the 'EXCEL' or 'HTML4.0' output from a Reporting Services ServerReport.Render call to an 'Excel.Application' object using Javascript?

Can u plz find the bug in the code ??

1509 byte By gsatyaprakash at 2007-11-25 11:09:19
I am trying to count the number of box tags in the newly opened window... Inspite of the fact there are 3 box tags it shows 0.Later I added a small piece of code to the javascript file and it showed 3...Where's the bug in the code ??Below are the javascript code and the xul code resp..the javas...

[RESOLVED] problem when compiling ECMA scripts with VSA JScript engine

633 byte By petru66 at 2007-11-25 11:07:02
A part of my current project has to do with running JScripts from .NET. For this I create a VSA Jscript engine, feed it with the scripts, compile and run. The problem comes when compiling: all names used in functions and not declared as "var" raise errors. Clearly, no run is possible anymore.I could...

javascript getting form component

333 byte By ayumi at 2007-11-25 11:05:40
i have an input <input type = "checkbox" name = "checkboxDel[]" ...>how can i use javascript form. to get the checked value? or get the component name itself. as when i do a post the query string of this component is ...&checkboxDel%5B%5D=25&...anyone has better idea of how to go about? thanks...

javascript refreshing parent window in child

405 byte By ayumi at 2007-11-25 11:05:33
currently have a program which runs in this sequence...main window calls a popup window.. in the popup will process n update. how can i set to close the window with <a href="javascript:refreshparent(...)">close me </a>wanted to refresh the parent and close the child window. i got some co...

Need help with random phrase generator in jscript

1083 byte By snapd at 2007-11-25 11:05:26
Hi guys,I haven't really used javascript before except for the odd snippet, and I was wondering if anyone can help me with a problem I have:I need a script that chooses a phrase at random from 4 pre-defined lists of phrases, and does it all from the one page - rather than a separate page and a...

Using TinyMCE - JS - Error: tinyMCE is not defined

2662 byte By Nibinaear at 2007-11-25 11:05:24
Hi there. I've been trying to get a basic example of TinyMCE working, you know the WSIWYG editor for CMSs. I've posted on their official forums, but no one will help, so I decided to post on dev-archive in a last attempt to get it to work.So far I've created my file below which is an...

run a .exe file in the gadget html

345 byte By hkullana at 2007-11-25 11:04:34
hi,i want to do a simple vista gadget. In the gadget i want 2 buttons. when the user clicks one of the button an "thefile.exe" should run. When the user clicks the other button "thefile.exe" should close. How can i do that?(these are pure html commands) The main question is how can i run an .exe in...

javascript and php

140 byte By ayumi at 2007-11-25 11:03:34
hi, how can i send a confirmation dialog of javascript in php and get the respond of ok or cancel from the dialog??<br/>thanks alot ...

innerHTML and CDATA

963 byte By venAdder at 2007-11-25 10:59:28
Hi,I am using ajax to update HTML of a div . THe ajax call returns a xml structure like:<response> <reponse-html><![CDATA[$HTML]]</response-html></response>Where $HTML is the html that i need to set for the div.On the javascript side I do: var elHtml = xmlRoot.getE...