no display.

564 byte By zhshqzyc at 2007-11-20 9:34:15
I am going to display a sentence in an applet.But why no display.thanks.<html><title>TEST</title><head><script type="text/javascript">function myFunction(){ return ("Hello, have a nice day!")}</script></head><body bgcolor="white"><applet code = "C...

How do I close a window when leaving it.

379 byte By glenvern at 2007-11-20 9:34:31
1. How do I close the current window when <a href> linking to another website? I tried <body onUnload="window.close()"> but it didn't work.2. How do I get the new website to open in the Maximised view? Mine all currently open in 'Normal screen' (Properties are set to Maxim...

Passing Values from javascript to ASP

315 byte By mattgb1 at 2007-11-20 9:34:42
I have a JavaScript function that successfully sets the .src property of an <img> control, but when I click on an <asp:ImageButton> control, the server side reports that same control's .src property as the value it had at design time.How can I get JavaScript to set it on the server...

javascript:this.blur() allowing the user to type an amount

1390 byte By jpipitone at 2007-11-20 9:35:02
I have a form that I'm using with authorize.net that automatically populates based on the user's selection. There are 3 options which I will show below. I want the user to be able to pick from the 3 amounts, but when they select "Just a donation," I want the form field x_amount to be edi...

vbs access autoincrement

339 byte By blubb at 2007-11-20 9:35:40
hello,at first, sorry for my bad english. does somebody now how to create a autoincrement field in access.Set objColumn = CreateObject("ADOX.Column")objColumn.Name = "Hallo"objColumn.Type = 2objColumn.Properties("Autoincrement") = Trueit doesn't work like thisthx blubb...

? Mirror Management Pattern

471 byte By Synetech at 2007-11-20 9:38:19
Hi,I have a site that will normally be hosted from a specific machine. However, the machine will not always be available and in those times, I want the site to be hosted from another server.What I am looking for is some sort of system that will detect whether the primary server is online, and if so...

HTML to VBScript

570 byte By JediKnight at 2007-11-20 9:39:59
Hi,Sorry for the easy question, but does anyone have an example of this process :-(1) simple HTML where I can enter a value in an input box(2) The HTML calls some VBScript and the VBScript displays the value in a message box.(3) The VBScript then displays another input box for me to enter a value in...

javascript form post

360 byte By roger5089 at 2007-11-20 9:42:37
Dear all i would like to aks some one does it is possible to post form for a to b and in b page can reture the data which is from a to b ? the reason is i have one a page need to use 2 form at the time . some time could a occure data loss some i need the data return back from a and then the data is...

Windows-1256 and unicode

705 byte By hhn at 2007-11-20 9:44:33
HelloI am using an Activex in my Html page. i need to get some data from this Activex via defined functions. the functions return a byte array as output. This byte array includes a string characters in its bytes. for example when returned data shall contain characters of "Hello" string, the function...

what the $*% is $() ?

461 byte By doug8888 at 2007-11-20 9:47:22
I've started working with ajax, and keep getting confused about what appears to be a javascript thing.What is '$' ?I've seen references like, "the $() function" and code like, "var $ = blahblah". So what's this about? Is it an actual Javascript syntax, operator or fun...

Give some idea in javascript

272 byte By anandedward at 2007-11-20 9:47:50
hi<br/> any one pls help these concept in javascript or coding<br/>"Positioning the scroll-bar as per the selected node in the tree.<br/>( The selcted node should be displayed in the middle of the window with no case expanded or collapse.)"<br/>by<br/>Anand

Load xml from Javascript

1069 byte By elektroman at 2007-11-20 9:50:17
Hi guysI have to load a file xml from javascript and to put all the content of it into a string to displayI have this code that in IE works but not in mozilla can you help me if (window.ActiveXObject) { //Checking if the browser is IEvar xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc....

Reset textfield background color?

4260 byte By sjcoder07 at 2007-11-20 9:51:55
I am doing an JavaScript exercise. I want to hightlight (change textfiled background color) the textfiled after the form being submitted. My problem is after user entered the valid entry, the textfield color remain as colored. e.g after user correct mistake in first name field, but have an invalid e...

POST vars from HTML to PHP

1225 byte By Culperat at 2007-11-20 9:54:13
I'm not absolutely sure this belongs here, but its what it seems like. I'm having some trouble at my workplace. We're creating a CD from which everything is relative to the CD being able to contain. On one of the html pages of the CD, we want to link the user to our website, which req...

Get the position of Window object

244 byte By jsiii at 2007-11-20 9:56:30
I need to know coordinates of current window. I tried self.screenX (and Y). Although it is not in standards it works well in FF. But IE7 does not support it.<br/>Is there another way how to get a position of a window in JS?<br/>Thanks

Need a search engine in HTML

136 byte By Ajith Sivakumar at 2007-11-20 9:58:14
Hello,<br/>I am designing a webpage. How do i include a search option in the main page.<br/>Thanks and Regards,<br/>Ajith

JS-generated text boxes is not sent on submit!

616 byte By TriKri at 2007-11-20 9:59:11
Hello!I have no example right now, but I earlier this day created a program which generated textboxes to appear inside the form which I later submitted them with. But after submit, the boxes generated with JavaScript and added through the DOM wasn't sent, only those which where created when the...

Feedback on JavaScript OOP model

1925 byte By andreasblixt at 2007-11-20 10:01:37
Hi there, I'd like some feedback on my take on creating classes and inheritance in JavaScript.I considered prototype inheritance (ChildClass.prototype = new BaseClass(); ...), but didn't like the idea of creating an instance of a class to inherit from -- I would either need code in the con...

Very strange problem in firefox

1658 byte By rogernem at 2007-11-20 10:03:21
I have a subscription page which is validated using a javascript<!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"><head><meta http-equiv="Content-Type" content="text...

BIM generator

845 byte By shipwreck99 at 2007-11-20 10:08:06
i'm stuck on a javascript which is supposed to be getting the BIM(bodyy mass index) in a webpage. can anyone help..?how do i post the code that i've cam up with?<html><head><script type="text/javascript">function bim(weight,height){var bm=weight/height^2;return bm;}</s...

text box content style with mouseover effect

142 byte By anicomsolu at 2007-11-20 10:09:19
Hi,<br/> Any body know how to apply mouse over effect in textbox value . In that text box value i need close button also. Thank you

[RESOLVED] HtmlSelect onclick attribute

707 byte By Visslan at 2007-11-20 10:12:29
Hi!I'm having problem with my HtmlSelect object. I want the page to do a post back when a new item has been selected in the dropdownlist. At the moment my code looks like this:...protected HtmlSelect ddlChooseDateForInstallation;...public void OnSelected_ddlChooseDateForInstallation( object sen...

[RESOLVED] Register for .NET EventHandler

1176 byte By patrickcbrown at 2007-11-20 10:19:02
Hello Everyone Could someone please give me a pointer on how to register for an event that is fired from a .NET Object. I can connect to it and call it's methods but can't figure out how to register for the "SomeNeatEvent" event. Thank you for your time and ideas Patrick public partial cl...

How do I turn this form button info into just a link

344 byte By shakyfry at 2007-11-20 10:19:17
<FORM name="USERFAVOUR" method="post" action="{$baseurl}/my_favour.php"><input type="hidden" name="rvid" value="{$answers[i].VID}"><input type="submit" name="removfavour" value="Remove Favorite"> </FORM>It is calling on my_favour.php to remove something.Please help.T...

VBscript: Need some advice on how to parse HTML code and split them into parts

1606 byte By tzixiang at 2007-11-20 10:20:37
Hi All! I'm currently stuck with doing my school project and need some help. I need to split the html code into 5 parts, Authors, Year, Title, Journal, Pageexample of the HTML code is as follows:<br><br>Chua Eng Huang, Cecil, Sandeep Purao, Veda C. Storey, 2006, Developing Maintaina...

images displayed on the search engine page

144 byte By glenvern at 2007-11-20 10:28:42
How do I get an image or video image displayed on the search engine page.?<br/>(type "mr bean" in Google and you will see several examples)

Problem running VB DLL in Internet Explorer

3448 byte By exr at 2007-11-20 10:28:53
The project I am doing requires custom functionality from a DLL executed from with Internet Explorer.The DLL is written in VB 2005. The DLL resides on the local machine, where it is registered with Regasm. The DLL implements iObjectSafety in order to allow IE to load it with an OBJECT tag.IE loads t...

Calling PHP from Javascript

604 byte By phpmaniac at 2007-11-20 10:29:11
I need a javascript function that creates an HTML enabled form in a div. If I include PHP code for the HTML editor it doesn't work. How can I make this work?function htmlForm(){ var form = "<? include('FCKeditor/fckeditor.php'); $oFCKeditor = new FCKeditor(...

Regarding javascript

175 byte By vijayalaxmi_mca at 2007-11-20 10:32:47
Hai All,<br/>I need a help regarding javascript.I am toltally new to javascript.Please tell me.How to get source code of particular URLby writing code by using javascript

Javascript error

602 byte By nazgul27 at 2007-11-20 10:32:52
Hi guys,I have a table with 50 rows on my page. I need to update the table on runtime by deleting the last row (the oldest) and adding a new one. Here is the code to delete the last row:<script...>var t = document.all ("Table"); // get a ref to our tablet.deleteRow (t.rows.length -1); // delet...

zIndex scipt wont work

1288 byte By Kovo88 at 2007-11-20 10:41:36
Im trying to get this script to function like it should.Basically I have two divs that overlap each other. I want it so that everytime one of the divs is clicked on, it comes to the front (so on top of the other one). This can happen anywhere from once to 2000 times (exaggeration). <script> f...

VBScript code produces an Expected Statement error??

2301 byte By Pilau at 2007-11-20 10:42:28
Hi, this is the VBScript code for the program described in this thread: http://www.dev-archive.com/forum/showthread.php?t=433810 rem This application allows a user to run only one program (in this case "game.exe")rem In case other programs are running, it terminates themrem The same action will be...

Run Only One Instance - Exit If Already Running..?

271 byte By deviouz at 2007-11-20 10:43:04
I'm new to VBS and in need of some code that will allow only once instance of the VBS File to be ran at a time..<br/>so if the 1st instance is already running, a 2nd instance cannot be ran...<br/>Is this possible at all or not..??<br/>If so How do i code it..??

detect mouse inactivity

144 byte By Kovo88 at 2007-11-20 10:44:18
i know gmail does this, but how can iI use javascript to detect inactivity in a certain DIV for example then return a function or anything else?

drop down menu over flash movie

8463 byte By Lucky-8 at 2007-11-20 10:45:33
check www.x1point0.com... i got into this project half way through after all the front end was designed so i cant really figure out wats wrong..... when the mouse goes over the menu on top u have a drop down menu which is visible over the flash movie below but the problem is to click any of those li...

Validating input in forms

1788 byte By shipwreck99 at 2007-11-20 10:46:32
how do i validate the following input's in xhtml form:<div id="content"> <form method="post" action=" http://tl28serv.uws.edu.au/iwsdinfo/form.asp"> <h1> Customer Personal Details</h1> <p><b>NAME:<b> <input type="text" name="name" size="40" ma...

[RESOLVED] onclick in CSS

486 byte By hensa22 at 2007-11-20 10:46:40
Hi everyone.I have a question.I have table tag on my web app, now, I want to be able that when anyone clicked on any row of tha table,it can be in other color painted and if so before there was any row paint then it takes the paint off.all of this is possible using css and not java script?I tried...

variable check and modify

1747 byte By Kovo88 at 2007-11-20 10:48:33
I need a function that will check a variables value and execute a function depending on the value. The value will always be either 0 or 1. If the variable is = to 0, then function 1 executes and changes the variables to 1. if the main function is called again, the second function will execute within...

about controlling the visibility of table row

863 byte By dummyagain at 2007-11-20 10:52:11
I would like to make certain rows of table invisible when the page is first loaded. The user can display the rows by clicking on a button. The button will then call the functions.i have set id on the rows like <tr id="secondSH">, but i got two problems.First, the row will not be invisible whe...

Script for IE menu command

750 byte By cilu at 2007-11-20 10:54:07
I want to add a command to the IE menu when text is selected. Well, this part is not hard, as it is described in MSDN ( http://msdn2.microsoft.com/en-us/library/aa753589.aspx). The part that I have problems with is writing a script to be executed when the command is executed.Set the default value of...

To Get the Scroll Height

889 byte By veeresh@MS at 2007-11-20 10:54:11
Hi,In aspx pagei wrote one function in javasript to show the scrolling heightfunction scrollingDetector(){if (navigator.appName == "Microsoft Internet Explorer"){alert("You've scrolled to " + document.body.scrollTop + " pixels.");}else{alert ("You've scrolled to " + window.pageYOffset + "...

Display Inline - List style menu bar

1475 byte By Nibinaear at 2007-11-20 10:54:34
Hi again. I'm trying to produce a menu bar using inline html lists (ul, li tags) as detailed here on Sitepoint: http://www.sitepoint.com/article/navigation-using-css/2I've got the following css:#menu{ margin:2% 0% 2% 2%; width:63%; float:left; clear:none; height:80px; }#menu ul{list-s...

innerHTML in head

193 byte By Kovo88 at 2007-11-20 10:54:41
can I do this validly?<br/><script...><br/>var headtag = document.getElementsByTagName(head);<br/>headtag.innerHTML += '<style>...</style>';<br/></script>

XUL and JavaScript question

287 byte By cespinoza1979 at 2007-11-20 10:54:56
Hi. I'm writing an extension for Mozilla Firefox, I want it to show the URL that is lodaded. The problem is that when I use this property<br/>window.location.href<br/>it shows "chrome://browser/content/browser.xul"<br/>How can I access the URL that is loaded? thanks!

Newbie question on XUL and JavaScript

432 byte By cespinoza1979 at 2007-11-20 10:55:38
How do I detect when the URL changes? I need to put it as a label in a navigation toolbar button. I've tried this codecontent.document.addEventListener("load", nuevaPagina(), false); function nuevaPagina(){ var boton2 = null; var boton2 = document.getElementById("myextension-button2"); boton...

[RESOLVED] duplicate element?(DHTML)

2484 byte By Mitsukai at 2007-11-20 10:56:20
hi i have one div-element which serves as layout for spawning more.I have tried cloneNode in many ways but it just doesn't work.Even in examples on the internet they don't work as expected for firefox and ie.I have no idea what other way to duplicate dynamically (writing to innerhtml seems...

innerHTML and CDATA

963 byte By venAdder at 2007-11-20 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...

javascript and php

140 byte By ayumi at 2007-11-20 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 ...

run a .exe file in the gadget html

345 byte By hkullana at 2007-11-20 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...

Using TinyMCE - JS - Error: tinyMCE is not defined

2662 byte By Nibinaear at 2007-11-20 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...