Refreshing an iframe with the same page programatically

340 byte By hitai at 2007-11-20 2:09:10
On my web page, there is a iframe with a page loaded (from the same domain). There is another button on the web page. When this button is clicked, i want the iframe refreshed with the same page. How can i achieve this?Another thing to note is that, I do not know the url of the web page displayed in...

want to text remain as it was

890 byte By bhuraasif at 2007-11-20 2:11:22
Hi,i have this script,it is working fine,no problem at all with scripts,function moveover(){document.getElementById('image').width="325"document.getElementById('image').height="360"}function moveback(){document.getElementById('image').width="70"document.getElementById(&...

site html trouble

665 byte By Abel Bhatti at 2007-11-20 2:12:26
Dear Andy,I used the html code you gave to E-brant, I am not a web desginer and have very little knowledge of website making, I have made my basic site, I used your html code for a must chekbox before you submit the form, its working for first part that unless you check the box submit button will no...

how do I include check box when validating a form

7932 byte By EBrant at 2007-11-20 2:12:27
Hello I am newish to WEB development and JavaScript (started reading JavaScript book recently) I use dreamwaever 4.01 and the built in form validation behaviour. I can validate text boxs in the form i.e. name, address, telephone number etc. However I have a check box in the form that says "check the...

JScript Modifying Events at Runtime

1436 byte By TSmooth at 2007-11-20 2:13:54
I have two web pages. The main page contains several VML rectangles that have their "onclick" events set to javascript code. The second page is opened by the first page when a particular link is clicked. What I want to do is change the onclick event of a <v:rect> element on the main page from...

onmouseover calling event on table column activated from another

1786 byte By pixelgirl at 2007-11-20 2:17:29
Basically, when I put the mouse over 'link', i want 'about' to be shown or hidden. I am nrealy there, but it doesnt appear to work. I know this is v bad code but a few tips would be v much appreciated :)TABLE WIDTH="100%"><SCRIPT LANGUAGE="JavaScript"> {var b} function P...

window.open not working onload

1581 byte By admatthews at 2007-11-20 2:19:02
I am trying to pop up a window on my web site when my page loads and I cannot get the window.open command to work when I use it with the "onload" directive. Here is a the code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&...

Disabling form elements

1528 byte By Nibinaear at 2007-11-20 2:22:15
Ive got some javascript for disabling form elements like this:<script language="Javascript"> <!-- function setState() { var maga=document.subscription.mag.value; if(maga=="online" || maga=="free_online") { document.subscription.username.disabled=false;...

Zoom functionality

209 byte By ktsirig at 2007-11-20 2:23:48
Hello,<br/>I have some pictures on my page that I want to add zooming functionality, that is, when a visitor clicks on an image, he will be able to zoom in and out on it.<br/>Any ideas on how this can be done?

Drop down menus - changeing content

305 byte By pjb007 at 2007-11-20 2:25:11
I have 2 drop down menus.In the first I have England, Wales Scotland etc.In the second I would like content based on whats selected in the first, so if Wales is selected in the first drop down menu, the second won't contain places like London.I'm using Dreamweaver....

Can you use a javascript to display a java applet?

707 byte By 22learn at 2007-11-20 2:26:23
I have been searching for a javascript that will allow me to:have a window for image display and text links next to it that once clicked, open the image associated with the text link in the window...so as to keep everything on one web page.However, I'm not actually displaying a still image, I&#...

[RESOLVED] meaning of $find

235 byte By jasonli at 2007-11-20 2:27:07
I'm using ASP.NET AJAX. I got a snippet of javascript from internet websites, and I found a statment -- $find("Label1").innerText = 'OK';<br/>I've never seen that before. Anyone can tell me what the meaning is?

[RESOLVED] All HTML components name,value in child page

331 byte By Prabu B at 2007-11-20 2:28:16
hi, In HTML, i am using components like textbox, textarea, combo box, radio button, check box..., in Parent HTML page, "i need the all components value and names in child HTML page" when a button is pressed in parent HTML page ( using javascript )OS: LInux Enterprise Edition 3.0browser: Fire Fox tha...

turn cursor into magnefying lens?

304 byte By ktsirig at 2007-11-20 2:29:35
Hello,I was wondering if there are any scripts available which will help me transform the mouse cursor into a magnefying lens once it hovers over an image. I think that onmouse.hover will be what I need, but what about the image of the lens? Are there any images like this ready?Thank you!...

Switch form by radio button

677 byte By Ipsens at 2007-11-20 2:30:40
Hi!Now I have a little more advance form and simply beacuse I wana save space I need to use Java script.This is a form.In a middle of it I wana to put a row(colspan=2).This row will have 2 radio butons.Below are 2 rows each having 2 <TD>sHere Java script kicks in.One radiobutton is active by d...

A Simple Javascript Project

1282 byte By garylee at 2007-11-20 2:30:57
Hi Javascript teachers, Can anyone really help me to solve this simple javascript project? I really hope you'll take some time to help me with this project. It is urgent for me.------------------------There are a total of 12 links/pages I need to link to from a single javascript main page. The...

[RESOLVED] favicon / Bookmark Icon

433 byte By HanneSThEGreaT at 2007-11-20 2:34:05
Hello guys!I'm planning to include an icon for my website, so that when people (if they hopefully..) save my page as a Bookmark / Favourite, it will display the icon next to it.This is what I've done (on every page) <link rel="shortcut icon" href="/misc/favicon.ico" type="image/x-icon"...

Need help setting up a javacript code with XHTML

2027 byte By jalaln at 2007-11-20 2:34:28
Hello all,I want to insert a javascript code into my website (XHTML 1.0 Strict valid) that generates random images.I found one.I have to insert the first part between <head> and </head><script type="text/javascript">var imagenumber = 5 ;var randomnumber = Math.random() ;var rand1 =...

Passing variables/images between frames

482 byte By Aztarac at 2007-11-20 2:35:15
HI all !I'm just starting in VBScript.I have a need to just use client side scripting if it is possible.I have 3 frames on my pageI want to be able to pass a numeric variable from a text box on frame #1 I then need to refresh the 2nd frame to show the variable in a text box on frame#2 ?Also how...

onmouseover on option

999 byte By Syl at 2007-11-20 2:35:29
Hi guys , is it possible to show a description of an option in a select box, when the mouse is over the option?I had found a solution code <SELECT NAME="selectName"><OPTION ONMOUSEOVER="this.parentNode.title = this.text">1 Kibology<OPTION ONMOUSEOVER="this.parentNode.title = this.text...

regular expression for date pattern

1818 byte By erankushmehta at 2007-11-20 2:40:20
/^(\d{1,2})(\/|-)(\d{1,2})\2(\d{4})$/The above expression represents a regular expression for date pattern in dd/mm/yyyy format.i m trying to validate date.i have not been able to understand what \2 is for in the above expression? The second thing is i am unable to understand the result of string.ma...

add Control

241 byte By CoolStar at 2007-11-20 2:41:43
Hi All,<br/>I am new to VBScript, I want to Add ActiveX control to some container say form. I know the Prog Id of Active X control.<br/>Is there some way in VBScrpit to add the ActiveX control to Form?<br/>Thanks in Advance !!

Changing Text Size

101 byte By code? at 2007-11-20 2:42:09
How do you increase/decrease text size in an element, like <pre>,<div>, or <span> ?

Finding Mouse Coordinates

484 byte By code? at 2007-11-20 2:43:12
I know how you find mouse coordinates, but when I loop it, it doesn't work.<script>function UpdateMouse(){ var X = event.clientX; var Y = event.clientY; Status.innerText = "(" + X + "," + Y + ")"; setTimeout("UpdateMouse()",100);}</script><body onload="UpdateMouse();"...

microsoft vbscript runtime error:activex component cant create:GetObject

1470 byte By anbumanikandan at 2007-11-20 2:43:44
hai everybodywhen i am executes these code.i received --> this error "microsoft vbscript runtime error:activex component can't create:'GetObject'"==> for this line "Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2...

run program from my site ??

266 byte By value411 at 2007-11-20 2:46:24
hi<br/>i need help i want to make my site that the visitor can install my program from<br/>the site with out download it on his machine or to run the program direct from the site can any body tell me how and send to the me code .html <br/>thankx every body

Manipulating window.confirm()

617 byte By waxie at 2007-11-20 2:48:29
Hi guys,I have an issue with my confirm window. I currently am using firefox browsers in 2 PCs. The problem is, the OK button in the other pc generated by window.confirm() shows after the Cancel button (the order of buttons is Cancel - OK instead of OK-Cancel). But in the other pc, it is fine. What...

javascript/or other for drawing or generating images!

151 byte By jm78 at 2007-11-20 2:49:48
i'm trying to figure out a way to generate random images or drawings in some scripting languages? which would be the way to start??<br/>thanx

HTML - Image as background

96 byte By lontana at 2007-11-20 2:50:59
Dear Gurus,<br/>How can I put my image to serve as a background for my HTML page?<br/>Thankfully

UPDATED: Publish your JavaScripts!

368 byte By CG Susan at 2007-11-20 2:51:55
Do you know about dev-archive's sister site, www.javascripts.com? Submit your JavaScripts to this site and have them published for readers worldwide. Just to go JavaScripts ( http://www.javascripts.com) and click "Submit a JavaScript" to begin.Please e-mail or PM me with any questions.(This was...

<inpu type="file">

314 byte By elektroman at 2007-11-20 2:53:09
Hi guys I want to ask you a very simple questionIs there a property for the <input type="file"> that allow to set only an extension (for example .doc or .xls) that will appear in the box of the files called by the button browse of the <input type="file">?Thanks in advance...

Javascript - Function works fine once but not twice

2006 byte By dlarkin77 at 2007-11-20 2:53:12
Hi,I have written some code that determines how long a function has been executing. The first time I run the code it works but the second time I get an error saying 'Function Expected'. I have a single button that executes the getTime() function.<input type="button" value="GetTime" oncl...

Inspection of missing component

975 byte By Efitap at 2007-11-20 3:11:57
I am developing an application, and have in that respect, an ambition to check, via the web browser, whether the application is already installed on the local computer or not.The application will speak with a webserver directly, once installed, but if it's not there, I'd like the user to b...

HTML style

592 byte By lontana at 2007-11-20 3:14:45
Dear Gurus,I learbed that html attribute BGCOLOR is deprecated. How can I paint cells in a table with various colours using style?When I put for example<HEAD> <style type="text/css"> BODY {background-color: rgb(19,5,9)} TABLE {background-color: rgb(85,50,19)}TD {background-color: rgb(50...

JavaScript Bookmark code

298 byte By Ipsens at 2007-11-20 3:16:40
After googling for a decent JavaScript Bookmark code I've found only those that works with IE.<br/>Now can someone give me a code that works with FF2, please.<br/>Then I will echo JS code with PHP for each browser its suitable version.<br/>Oh yes,<br/>I need one for opera, too.

ActionScript 2->3

768 byte By Ipsens at 2007-11-20 3:16:48
I just started learning AS2 from one of the best book for that language.ActionScript animation: Making things move.I'm progresing well and am impressed with code..., only to find out that there is already AS3 verison out there and i've also found out that in 2007 will be update to my book...

please help me to fill gaps

1028 byte By zhshqzyc at 2007-11-20 3:17:10
<html><head> <title>Gaps</title> <script langauge="javascript"> function start() { __A________________________________________________; } function validate( event ) { if ( B_____{ event.preventDefault(); C__________________;...

Cant access frames properly

390 byte By MartinK at 2007-11-20 3:18:28
var str = top.frames["worker"].document.links.length;The above code causes an error: Error: uncaught exception: Permission denied to get property HTMLDocument.linksIs the language defined like this? Other properteries of the frame are accessible, for example the ".location" attribute. How can I acce...

Why am I still getting prompted on Validaitoin

1541 byte By ASPSQLVB at 2007-11-20 3:20:13
Guys,I am trying to proceed to the next page but, cannot because I cannot get passed the Validation Prompt "Select a Fish Angler". Wondering Why ? When I type this in Visual Interdev ...document.form1.CarpAnglerFishId.value...the CarpAnglerFishId name does not appear in the the little pop up box of...

Problem with firefox

675 byte By shoham78 at 2007-11-20 3:21:36
Hello All,I have a table in the client side and when I try to insert a cell (in javascript) and add to the innerHTML of the cell a user control it works in Internet Explorer, but when I try to do the same in Firefox it does not work.the code:var betTable = document.getElementById('BetAskTable&#...

show hide table rows

633 byte By csamuels at 2007-11-20 3:22:03
http://www.farmersofsalem.com/Storage/caappfp.htmlThere's three tables on this page. Each table shows its first row and allows additional rows to be displayed by clicking add new. The rows are hidden by setting CSS display to none and are shown by changing display to block. The first two tab...

HTC File does not work in firefox

12461 byte By shoham78 at 2007-11-20 3:23:31
I have a HTC file which work fine in Internet Explorer, but does not work in Firefox. Is there a way to change the HTC file so it will work in firefox?the HTC file is:<html XMLNS:NumericUpDown dir="ltr"> <PUBLIC:COMPONENT tagname="NumericUpDown" literalcontent=true > <PUBLIC:PROPERTY...

set properties of browser window

227 byte By jasonli at 2007-11-20 3:25:24
I didn't care about the feature of browser window before. Now I am wondering how to set properties of it, e.g., no menubar, no address bar.<br/>I tried to set in window.onload, but no luck.<br/>Thanks in advance.

Javascript is null or not an object?

692 byte By Hubris at 2007-11-20 3:32:05
Gday everyone, I'm getting an IE error saying:Line: 590Char: 1Error 'this,document,secpay.trans-id' is null or not an objectThe full javascript is:<script language="JavaScript">if (this.document.secpay.trans_id.value == "") // Only fill first time! this.document.secpay.trans_id...

How to change invisionfree board logo?

145 byte By Mybowlcut at 2007-11-20 3:32:40
Hi guys.<br/>Just wondering how to change invisionfree board logo because I can't seem to find it in the admin cp...<br/>thankyou.

exe in Asp page

323 byte By shweta1234 at 2007-11-20 3:34:55
hi to allI am trying to run activex dll in vb script .This dll calls some exe.But when i run the asp page i dont see the exe on the screen even though i can see it in process list tab of task manager. Even I dont get any error.can anybody tell me how to run the exe through vbscript or javascript?Shw...

AUDIO with PHP

341 byte By Ipsens at 2007-11-20 3:39:37
Ok I need to add audio chalenge to my existing captcha for visualy impaired users.Now does anyone have any experience with PHP + audio?Recomendations..., tutorials..., articles, links..., audio files for each alphabetical type, before I even start to take this challenge... :wave:Thx in advance!Ipsen...

Vbscript: Get Drive Letter of USB Removable Disk

1408 byte By enternaL at 2007-11-20 3:42:21
I have to get the drive letter of a specific model, based on DeviceID I believe, of a USB Removable disk drive (thumbdrive that shows up as a Removable Disk; not a HDD). Can anyone give any insight on how to do this? It only needs to work on XP Pro SP2. Thanks.For interest, here's the code...

Urgent:Identifying javascript functions againt HTML elements

721 byte By ranadhir nag at 2007-11-20 3:45:07
We need to record all javascript events fired/registered against any HTML element on a form.For example,if there is a SELECT element on a form,and there is a javascript function registered against the onchange event of the element,we need to shortlist the 'onchange' event.How do we do this...

get ElementById in firefox

288 byte By shoham78 at 2007-11-20 3:45:47
hay all,<br/>in IE I get get a reference to an element inside an element by using <br/>document.getElementById('FirstelementName').document.getElementById('SecondelementName').<br/>but it does not work in firefox.<br/>how can i get the reference to the second element?