Save ExecCommand IE 5.0

466 byte By Praveenp at 2007-11-17 22:51:13
HiI have an Iframe inside a page.And I have to save the contents of the Iframe.I am using Javasript and my code is parent.iView.document.execCommand('saveas', true, ".txt"); iView being the name of the frame.This is working fine in I.E 5.5 and above but in I.E 5.0 the content of the parent...

Priority order please help!

1694 byte By thedarkavenger at 2007-11-17 22:52:44
Well just when i thought that i finished my web page, i have encountered another problem.How do i give priority to lists?Like i have:<INPUT type=hidden name="order" value="email,name,number">then i Have the following elements of the form:<INPUT type=text" name="email">email<INPUT type...

Tree view with Javascript

296 byte By Circa at 2007-11-17 22:53:23
Hello,<br/>I will need from IE to load some xml file, then display the data into a tree view style with javascript, but having limited knowledge in javascript, I am hoping, if any of you has any advice or some URL where I can find some help on these matters.<br/>Many thanks.<br/>Circa

Tree view with Javascript

302 byte By Circa at 2007-11-17 22:53:24
Hello,I will need from IE to load some xml file, then display the data into a tree view style with javascript, but having limited knowledge in javascript, I am hoping, if any of you has any advice or some URLs where I can find some help on these matters.Many thanks.Circa...

Write to txt file ? difficult question

681 byte By Klas at 2007-11-17 22:53:29
Hello!I need to write to a txt file....Really need help...please.I have 4 variables, healine, name, mail, phoneheadline: is approxicly centeredName: on the same row as headline, but more to the rightphone, maill : they are directly under name------------------------ Rubrik...

multiple checkbox question

779 byte By bjnst6 at 2007-11-17 22:54:54
hey there...i'm using IE 6...and i've got this javascript code:var totalCheck = theForm.chkDelete.length; alert(theForm.chkDelete.value);alert(theForm.chkDelete.length);okay...now i have this html on the page:<input type="checkbox" name="chkDelete" value="#EventID#">instead a cfoutpu...

checking for checkboxes

456 byte By thedarkavenger at 2007-11-17 22:55:05
I have many checkboxes on my page.How do i check if any of the checkboxes are checked?For eg: if the user doesnt check any of the boxes it should display an alert.i tried this script:function checking(){if(document.activeElement.checked){return true;}else{alert("You haven't checked anything");r...

how do i make a query box??Please help!

704 byte By thedarkavenger at 2007-11-17 22:55:19
Can anybody tell me if it is possible to make a dialog box with 'YES' and 'NO' buttons?The only dialog box i know how to use in javascript is the 'alert' dialogbox.Is it possible to make a dialogbox which displays a message and then has the 'YES' and 'NO&...

intro to PHP4 (SESSION)

767 byte By leetcrew at 2007-11-17 22:57:38
intro to phphere's the flow of my webpage...quote:------------------------index.phppage1.phppage2.phppage3.phppage4.phppage5.php------------------------page5.phpquote:------------------------if ($HTTP_SESSION_VARS["log"] = false){echo "<script language='javascript'><!--window...

checking for empty fields

678 byte By thedarkavenger at 2007-11-17 23:00:25
I tried this code for checking for empty fields:function emptyvalidation(){if(document.forms[0].wanted.value=' '){alert("u did not type anything");return false;}else{return true;where the name of the text box is 'wanted'<textarea name="wanted" cols="56" rows="10"></texta...

Check This out

535 byte By thedarkavenger at 2007-11-17 23:04:00
Did anybody of you know that the window.close() function does not work if you use redirection urls?i tried<a href="javascript:window.close()>closewindow</a>and i uploaded it onto my site.I then used the v3 redirecting url which goes like zip.to/mypageBut it doesnt work.There are certain...

how to pass unicode values in javascript

3215 byte By qmk at 2007-11-17 23:04:39
hi All,In our application we are using something like this (中) in select tag<select name=seluni><option></option></select>to display Japanese characterNow i have converted the decimal part (20013) to hexadecimal (59D9) and concatinated "\u" to represent in unicode. But...

Java Script Print

164 byte By Venkatas at 2007-11-17 23:07:13
Please some body tell me 'how to print a whole frame by pressing button in the diffrent frame in the same window'.<br/>Window.framename.print() will work?

shooping cart

7460 byte By jinthu200 at 2007-11-17 23:08:24
everytime i hit order, it goes to shopping cart and it says cookies needs to be enable but it is enable.<!-- #include file="db.asp" --><%'shopping cart code on this page - 'generates session variables with order itemsDim prodid, quantity, arrCart, scartItemprodid = Request.Form("f...

shooping cart

7460 byte By jinthu200 at 2007-11-17 23:08:34
everytime i hit order, it goes to shopping cart and it says cookies needs to be enable but it is enable.<!-- #include file="db.asp" --><%'shopping cart code on this page - 'generates session variables with order itemsDim prodid, quantity, arrCart, scartItemprodid = Request.Form("f...

HTML event when the page is displayed completely in browser

232 byte By pppsandeep at 2007-11-17 23:10:14
Hi,<br/>I m an HTML beginner. <br/>If I want to display some alert box when the whole page is displayed in the browser. (The way 'Done' is displayed in the status bar of internet explorer).<br/>How to do it?

Run programs from a web page

425 byte By kakuni at 2007-11-17 23:10:50
I have a webpage set up, and I want to be able to click a button and run a program located on my computer. I have seen some code that lets the user click a button and run programs on their own computers, but is there any way that they could run programs on my computer? I am using ASP with VBScript...

Call JS from ActiveX?

344 byte By gregger at 2007-11-17 23:11:24
Hi there,Is it possible to call a JavaScript function from an ActiveX control embedded in a web page? I can go the other way no problem and call a function in my ActiveX control, but I'd like to call some JavaScript from my ActiveX.Is it possible?Any clues on how it's done?Thanks a bunch!...

login remote webserver

237 byte By mlxsae at 2007-11-17 23:13:48
Hi,<br/>Is it possible to define the value of a username input field + psw field on a remote server and automatically give the command "submit" with javascript?<br/>Thanks!<br/>S.<br/>[Goodz13: Moved: Posted in JAVA forum]

Javascript Not validating form on Netscape

191 byte By ikiani at 2007-11-17 23:14:20
My form is working fine on Internet Explorer, I have a function called verify() to validate form upon submit. It does not call the function on netscape instead sends empty form to reciepient.

Going through a tree node

805 byte By Circa at 2007-11-17 23:14:24
Hi,I am trying to count the number of leaf containing in a tree view,my code does not work, why? the code is small:Many Thanks<script language="JavaScript">var xmlDoc=new ActiveXObject("Microsoft.XMLDOM")xmlDoc.async="false"xmlDoc.load("Prometheus.xml")var n=xmlDoc.documentElement;var TotalLea...

Timeout

251 byte By Venkatas at 2007-11-17 23:17:56
Please some body tell me how to timeout(fourcing him to login again) a user if he is not using the session for more then 40min. Where should I make changes, in the ASP page or in the Server. Setting 40min in Connection timeout in the Server will work?

HELP? Reading remove URL (HTML) file and writing it on screen...!

203 byte By esimplest at 2007-11-17 23:20:54
Hi,<br/>Can anybody help me on this.<br/>I would like an html page read a remote url ( http://.../something.html) and write it on my screen...?<br/>Advance Thanks for the one who will help!

Mime Types

446 byte By mlxsae at 2007-11-17 23:25:02
Hi,Question concerning mime types. I have a webpage with some links inside it to files (binary files). I have put the extension of the file to the mime list (apache) so when clicking the link, it will download it automatcially. However when this mime type is defined locally (NC 4.7), he opens the fi...

U R G E N T !....

232 byte By sethuramalingam at 2007-11-17 23:29:59
Dear All,<br/>I have a combo box,which contains 1000's of clients.Searching a client using this dispaly is really a chore.plz advice me to get a wonderful display & to select the clients easily.<br/>Regds,<br/>B.Sethu

Validate Email Id

105 byte By bharadwajrv at 2007-11-17 23:30:02
Hi...<br/> how to validate e-mail id using text box using Java Script..<br/>thnaks in adv..<br/>Venu

Validate Date Field

334 byte By bharadwajrv at 2007-11-17 23:30:05
Hi..how to validate the Date entered in text box using the java script..is it possible to use like thisvar dtCurrent = new Date("10/31/2002")dtCurrent.IsDate???? //any thing like this...and how to get all the supported propert and methods of the above object..thanks in adv.Venu...

How to restrict user from simultaneous login...

286 byte By japss at 2007-11-17 23:32:29
Hi,<br/>can anyone tell me how to restrict user from login to a application more than once at the same time?<br/>Once he logs into the application, he should not able to login again with another browser without logging out from the current session.<br/>thankx in advance.

lsof command on SGI

244 byte By Hagai at 2007-11-17 23:33:20
i am looking for a similar command to lsof in unix shell that works on SGI platform (the command output all open files for a specific proccess).<br/>thanks,<br/> hagai<br/>if this question is not related to this forum please let me know.

Internet explorer and Action cancelled

374 byte By ashwanichauhan1 at 2007-11-17 23:35:00
Whenever i try to access a site it shows a message "Action cancelled". this is happening whenever i click on any of link in the site. I am able to see the page only when i refresh everytime. I have cleared the cache. Also when i logout and login as a different user the browser shows the details of t...

Type Ahead HTML

592 byte By neetugopal at 2007-11-17 23:38:39
Dear All,I would like to implement type ahead feature in an HTML form so that user can type field values of the form before it is displayed. For example, on a sales order page there are part, quantity etc. fields. User clicks on a link to display the sales order form page, at this point user knows t...

To control Window Media Player using slider ....( Javascript)

582 byte By svcpp at 2007-11-17 23:40:08
Hi, ( Doing a Program using JavaScript and Html using Visaul InterDev Editor) Want to control the position Window Media Player 7.1 using a Slider Control. i) Getting Total Time duration of Movie(Playing on Media Player)ii) Calculating percentage of time according to MAX value of Slider (...

How to make a check box inside a list box

249 byte By Farhad at 2007-11-17 23:40:23
using any scripting language (eg java script) how can i make a check box inside a list box (as it is in many window apps)<br/>please do tell me how is it possible??<br/>or any refer any site with similar functionality<br/>Thanks in advance

calling java from javascript

1112 byte By edmusim at 2007-11-17 23:40:31
hi!I like to call a java file from javascript but run into error indicating unresolved class name. For a classname rd, the error states "rd is null or not a valid class". Can anyone give an idea on how to solve this? Below is my html codes & java sample file. Had been trying for many days but to no...

How to calculate a total in Java Script and display the result in a column in a

267 byte By mpoincare at 2007-11-17 23:43:12
I have a table in a web page with 3 columns: Unit Price, Quantity,Total. How I can display the result in the column Total after multiplying the content of the column Unit Price by the Content of the column Quantity using Java Script? Any code sample would be welcome.

How can i ...

190 byte By totobacoo at 2007-11-17 23:43:14
oh. in javascript, how can i pass a string array to my <br/> ATL simple object ?<br/> &, how to declare the interface which would receive <br/> the string array in my object ?

Update content

601 byte By hasscol at 2007-11-17 23:43:18
Hi, I'm a self learning webmaster running a non profit catholic site. My problem is: I need the site to be updated daily. I update the content with a ftp client, but usually take some days to get the update visible in my own computer. I set my IE6 browser to update page every time is visited an...

URL parameters

102 byte By WillemM at 2007-11-17 23:44:03
How can I get the url paramers from an url like this ( http://localhost/index.htm?id=1) with VBscript ?

Beginner

1513 byte By Circa at 2007-11-17 23:45:12
HI,Could anyone tell me what is wrong with my program, I am trying to display all the node of a xml file, but I get an error message saying, type mismatch :<html><head><title>test</title><body><script language="JavaScript">var xmlDoc=new ActiveXObject("Microsoft.X...

How to insert and remove items at runtime from a table

169 byte By Farhad at 2007-11-17 23:51:32
Please tell me<br/>how to insert and remove items at runtime from a table using javascript<br/>also if you know some links please tell me<br/>Thanks in advance

Drop Down list automatic update

514 byte By rui2 at 2007-11-17 23:52:20
I have a code that retrieves from an SQL DB a list of names and a list of dates. I want to change it and make that when the user selects a name, the list of dates will be only the associated with the name selected.There is 1 file where the functions are defined and another one to the form. The DB ta...

Scroll Bar

189 byte By Venkatas at 2007-11-17 23:53:19
Please some body tell me how to do the following.<br/>I have two frames in a window, if I move one frame's scroll bar then secound frame's scroll bar also should move accordingly.

Pop Up Windows

491 byte By worldhopes at 2007-11-17 23:54:25
hi i am completly new to java i have been trying to get a new window to pop up i have used the following code i want this window to pop up on a click event <SCRIPT LANGUAGE="JavaScript">var myWindow = window.open(www.yahoo.com, ed1, balnk);myWindow.moveTo(200,200);</script>i cant get th...

Simple Problem

713 byte By saddysans at 2007-11-17 23:54:31
Hello Friends. Can anybody tell me whats wrong in this code, its giving runtime error whenever i click the mainframe, rather than alert. Both mainFrame.htm and topmenu.htm are empty files <html> <head> <title> Testing Co-Browsing </title> <script language="javascrip...

ActiveX Control

141 byte By Brane at 2007-11-17 23:57:56
How can i create and use COM object on server side from ActiveX control on client side (hosted in IE), or from client script? <br/>Brane

Searching local html files from Netscape

521 byte By Norm at 2007-11-17 23:58:04
I have a folder full of html files that I would like to be able to search from a script invoked from an html FORM in a page in the Netscape browser. For a simple test I have the Form Action= point to a Perl program that Netscape executes. What I would like to be able to do is have the Perl program...

Downloading a file from a url automatically.

690 byte By firsthelp at 2007-11-17 23:58:11
Hello,Yahoo Finance has a 'download spreadsheet' you can click on and download and open into excel, but I would like to automate that using a script to obtain the file, then I can process it and use the data.The link below will take you to Yahoo Finance with our stock simbol. http://finance...

Problem with VB ActiveX DLL and ASP

1076 byte By Staryon at 2007-11-18 0:01:03
Hi guysI have this problem when I try to call an ActiveX DLL from an ASP file:I've created a VB ActiveX DLL.I set the Threading Model option to Apartment Threaded and I wrote this small method:Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)Public Function Wait(nSeconds A...

JavaScript String Variable Question

661 byte By partyman66 at 2007-11-18 0:01:11
I'm trying to use a Javascript Form to launch another web page, but the web address that it launches will change based on info on screen with the form. I have the address that I want to go to stored as a String in a variable, but I can't get that variable to be recognized as a String in t...

Printing with JavaScript: Excluding form

415 byte By Goodz13 at 2007-11-18 0:01:18
It it possible to have JavaScript print the page and exclude a form that's on the page?I have a print button on the page with the following code<input type="button" name="print" value="Print" onClick="javascript:window.print()">and I don't want it to print the "Print" Button or anoth...