I've got a page, that's in a frame in a frameset, that calls multiple
external js files. When I get a message that tells me that a problem
occurred at line, say, 185 is there some way to track down the actual
line of code referred to? At the moment I have no idea where exactly IE
had the problem.
Something like MZ's js console would be nice.
Andrew Poulos 4 1292
In article <41ba9acd$0$257 86$5a62ac22@per-qv1-newsreader-
01.iinet.net.au >, ap*****@hotmail .com says... I've got a page, that's in a frame in a frameset, that calls multiple external js files. When I get a message that tells me that a problem occurred at line, say, 185 is there some way to track down the actual line of code referred to? At the moment I have no idea where exactly IE had the problem.
Open each source file in turn and check line 185. Put an alert before
and after, and see which order the pop-ups appear.
--
Hywel http://kibo.org.uk/
I do not eat quiche.
Andrew Poulos wrote: I've got a page, that's in a frame in a frameset, that calls multiple external js files. When I get a message that tells me that a problem occurred at line, say, 185 is there some way to track down the actual line of code referred to? At the moment I have no idea where exactly IE had the problem.
Something like MZ's js console would be nice.
Install Microsoft's script debugger (downloadable from Microsoft's
website) and IE will give you the option of debugging when it hits an
error. The debugger will then open at the correct source line and you can
inspect variables etc. before continuing.
The script debugger isn't very good (it has a tendency to lock up both IE
and itself), but at least it shows you where the error really is.
Hywel Jenkins wrote: In article <41ba9acd$0$257 86$5a62ac22@per-qv1-newsreader- 01.iinet.net.au >, ap*****@hotmail .com says...
I've got a page, that's in a frame in a frameset, that calls multiple external js files. When I get a message that tells me that a problem occurred at line, say, 185 is there some way to track down the actual line of code referred to? At the moment I have no idea where exactly IE had the problem.
Open each source file in turn and check line 185. Put an alert before and after, and see which order the pop-ups appear.
I'm testing in IE 5 on Win 98SE and the MS script debugger opens at the
top of the first external script file it loaded regardless of where the
error is (stupid software!)
I'm going to have to go through each script file as you suggest. Thanks
for the help.
Andrew Poulos
Andrew Poulos wrote: Hywel Jenkins wrote:
In article <41ba9acd$0$257 86$5a62ac22@per-qv1-newsreader- 01.iinet.net.au >, ap*****@hotmail .com says...
I've got a page, that's in a frame in a frameset, that calls multiple external js files. When I get a message that tells me that a problem occurred at line, say, 185 is there some way to track down the actual line of code referred to? At the moment I have no idea where exactly IE had the problem. Open each source file in turn and check line 185. Put an alert before and after, and see which order the pop-ups appear.
I'm testing in IE 5 on Win 98SE and the MS script debugger opens at the top of the first external script file it loaded regardless of where the error is (stupid software!)
I'm going to have to go through each script file as you suggest. Thanks for the help.
Take all of your external files, put them internal.
Debug.
Remove them back to external files.
It makes tracking line numbers a lot simpler.
--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Andrew |
last post by:
Dear Experts,
I have a perl program that using Getopt:Std module, when I try to run
the GetOpt program, the following error returned:
Can’t locate Getopt.pm in @INC
(@INC contains: /opt/perl5/lib/5.00502/PA-RISC1.1 /opt/perl5/lib/5.00502
/opt/perl5/lib/site_perl/5.005/PA-RISC1.1 /opt/perl5
I am using Perl 5.6.1 in HPUX 11.
Any hints?
|
by: packrat |
last post by:
I am attempting to build a Bugzilla server on OS X.
All of this is new to me, working with the Perl, MySQL, and Bugzilla,
so I have been
banging my head often.
Software error:
When I run the bugzilla 'checksetup.pl' file, I get the following:
-------------------------------------------------------------------
|
by: hikums |
last post by:
how can I use a function inside a function, for example I want to
select col1, col2 from table1 where locate(dayofweek(current
date),col3) =dayofweek(current date)
col3 is a field that contains a string like '12 4567', or
'1 4567'. This field specifies what day in the week the job executes,
and if there is a match, I want to report col1 and col2.
|
by: sp1dEr |
last post by:
Hi all,
I have an asp.net application (framework 1.1 sp1) on windows server
2003. When the document root is locate in local that's all ok... but
if the document root is locate on locate on network share, application
display error message:
Server Error in '/MYAPP' Application.
--------------------------------------------------------------------------------
|
by: mwt |
last post by:
Is there a function in python that does what "locate" does in a bash
shell?
I know I could do it by using os.popen('locate'), but I'm curious if
there's a Python "native" way to go about it. Only needs to work in
Unix, but would be interesting if it was cross-platform.
Thanks.
| |
by: Jason |
last post by:
Hi,
I built a vb.Net application that creates ICS calendar files dynamically and
then sends them to the client browser as a downloadable file. Works perfectly
except in the following situation.
If the URL link to the web page is mailed to someone and they click on the
link in Outlook and there are no web browsers already opened on their system,
IE Starts, the open/save Dialog displays and then 1-2 seconds later the IE
window closes...
|
by: Thomas K. Nielsen |
last post by:
Hi I dynamically insert some stylesheets. I want them to be placed
before some javascript is executed. I know I can add an id to the
scripttag that I want the stylesheets to be insert above, but I then
have a problem with with backward compability(need to insert that id
to many pages) and I have a problem if my colleagues forget to add
that id to the script tag.
My question is can I locate a javascript funtion - ie I have a
initPage...
|
by: zerogreen |
last post by:
Hi
I am looking for an equivalent to the LOCATE function from MySQL.
I have a query(PHP) that looks like this:
$query="SELECT * FROM table WHERE LOCATE('".$var."', field)> 0 ORDER BY LOCATE('".$var."', field) LIMIT 10";
Any Ideas?
|
by: CtrlAltDel2008 |
last post by:
Hello everyone, i hope you can help me with this query.
The code below all works fine, referring to the SUBSTRING part, at the moment it just displays all the text from the "http" part until the end of the thread.
I am trying to get it to just grab the URL and display that only.
$sql= <<< END
SELECT
post_date
, DATE_FORMAT(FROM_UNIXTIME( post_date ) , '%d-%m-%Y') AS formatted_date
, LEFT(title, 30) AS title
, post
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |