Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript 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 October 24th, 2005, 01:59 PM
Registered User
Join Date: Oct 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default encoding JavaScript in src at script tag

Hi Friends,
Based on book of VBScript 2nd edition Adrian Kingsley-Hughes,....
I encoded a attached js. files by windows script encoder. After encoded and changed js source to kk.jse/kk.js from my.js, My html files does not work. I get a error message as "object expectd".

how to fix this issue.
by the way, I download windows script encoder version 1 from ms web site.
--Source code---

<html><head><title>code testing</title>
<script language="javascript" SRC="kk.jse"> </script>
// or <script language="javascript" SRC="my.js"> </script>

<form name="ss" method="post">
<input type="test name="enter">
<input type="button" value="click me" onclick="tt()">
--kk.js code---

function tt()
{alert ("working")

Old October 25th, 2005, 10:04 AM
Friend of Wrox
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco


<script language=javascript>



Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML tag from C# or ASP.NET tag from javascript angshujit ASP.NET 2.0 Basics 3 February 16th, 2007 10:07 AM
chapter2-src\src\ch02\sample5 _ need help M7777777bill BOOK: Professional Java Development with the Spring Framework 0 June 14th, 2006 10:00 PM
Javascript in Anchor Tag jamara JSP Basics 1 May 30th, 2005 01:00 AM
How to add a javascript within a iframe's tag ? muklee Javascript How-To 2 September 28th, 2004 04:25 AM
Script src problem Snib Javascript 5 December 30th, 2003 03:33 PM

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