PC Review


Reply
Thread Tools Rate Thread

2 simple questions

 
 
=?Utf-8?B?T3Jlbg==?=
Guest
Posts: n/a
 
      8th Apr 2004
Hi

I have 2 simple questions and hope someone can help me

1) I have an aspx page with the Control: HTML ListBox on it (runat=server). I'm adding options in JavaScript
....
mySelect = document.addFiles.lis
var myI = mySelect.selectedIndex +
mySelect.options[myI] = new Option(sFile,"2"
...

After that I'm doing POST and in the event 'Page_Load' catch this by
if (Request.HttpMethod=="POST"

// How can I find ALL the options that I have added in JavaScript ??
// the: Value && Tex


2) How can I , in JavaScript, get the file size with
// var fso = new ActiveXObject("Scripting.FileSystemObject")
// I get an error - "Automation server can't creat Object" ? why ??? Any Ideas
I'm using File HTML control - I don't need to Upload files but get there size + full name (with full path)

thanx
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple questions for simple 2 PC file sharing network. Simple? raylopez99 Microsoft Windows 2000 Networking 3 11th Feb 2007 01:31 PM
Questions should be simple please help =?Utf-8?B?YmFiaWlnaXJs?= Microsoft Excel Worksheet Functions 3 14th Jun 2006 07:24 PM
Simple Questions cgi_pro Microsoft Excel Discussion 2 12th Feb 2006 08:28 PM
Probably simple questions Maggy Windows XP General 2 2nd Jul 2004 08:49 AM
2 simple questions about ado/xml suzy Microsoft ADO .NET 0 27th Oct 2003 08:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:12 PM.