Wrox Programmer Forums
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 20th, 2006, 02:51 AM
Registered User
 
Join Date: Nov 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default urgent help needed

Hi,

I have a SDk which includes number of html pages located at my local disk. I want to search a string from all these locally placed HTML page contents and want to display the results in another HTML page. These HTML pages are placed in 3 different folder. The output should display the name of file and line containing the string (just like google search). We cannot use ASP/ActiveX as it a stand alone bunch of HTML files.

Is it possible using javasacript or I need to use some other technology?

Please suggest something.

Thanks in advance.

Rama



 
Old November 21st, 2006, 12:56 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default

Hi Rama!!
If you want to use javascript ,you need ActiveXObject("Scripting.FileSystemObject") in order to show the details about file name,line containing the string

Or, you need other lanuage java etc to search the folder files and required text string.

Since you don't want to use ASP,serverside code,if your browser supports javascript ,go for ActiveXobject, or VbScript file handling on the client side
Hope this will help you

Cheers :)

vinod
 
Old November 21st, 2006, 01:17 AM
Registered User
 
Join Date: Nov 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Vinod,

Thanks a lot for your reply.

Vinod, Will ActiveXObject work on all browsers and MacOS also?
Actually I am from c/c++ background. I am totally new to Java script and all web related technologies.

Do you have any sample code? Could you please tell me your gmailID?

Thanks,
Rama






Similar Threads
Thread Thread Starter Forum Replies Last Post
Needed Very Urgent ndrnathan C# 0 June 8th, 2007 07:43 AM
Very Urgent Help Needed Vinay Chugh ASP.NET 1.0 and 1.1 Basics 1 June 7th, 2006 12:32 AM
Urgent Help Needed rameshnarayan XSLT 0 September 19th, 2005 03:46 AM
urgent help needed sugandh .NET Web Services 0 January 10th, 2004 12:44 PM
URGENT Help needed scott Access 12 November 16th, 2003 03:13 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.