473,788 Members | 2,848 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unknown runtime error

I have googled for '"Internet Explorer" "Unknown runtime error"' and not
found anything useful. I have the following (for simplicity of
presentation here):

<div><table><tr ><th id="foo"></th></tr></table></div>

In my javascript I have two lines:

var titleObj = document.getEle mentById('foo') ;
titleObj.innerH TML = "Name is bar";

IE6 is throwing an "Unknown runtime error" at the second line.

What can I do about it?
Jun 27 '08
21 2130
On Thu, 08 May 2008 15:06:39 +0200, Thomas 'PointedEars' Lahn
<Po*********@we b.dewrote:
>Therefore it is not possible
to stick to MS VS.NET for the development of client-side scripts without
irresponsibl y ignoring the many other execution environments out there.
PointedEars
Fully agree on this one. My approach is - write in one environment
(accidentally it's VS.NET because it integrates well with my
server-side environment), test - and quite often do
if(isIE){//IE-specific;} if(isFF){//Firefox-specific;}... - in all
target environments. Sometimes (more often than I'd like it to happen)
it's not possible to write to the lowest common denominator due to the
lack thereof, therefore the branching. Though IMO it is not due to
syntax or scripting engine differences but rather due to differences
in document object models. Yet there's nothing better than VS.NET to
debug IE-specific and common code, so much so that I badly miss it
when I have to use Venkman for FF branches. Definitely VS.NET is not
even comparable to MS script debugger - this one is in the same class
as Venkman.

NNN

Jun 27 '08 #21
no****@nowhere. net wrote:
[...] Thomas 'PointedEars' Lahn [...] wrote:
>Therefore it is not possible
to stick to MS VS.NET for the development of client-side scripts without
irresponsibl y ignoring the many other execution environments out there.
[...]
Please trim your quotes, especially avoid quoting signatures.
Fully agree on this one. My approach is - write in one environment
(accidentally it's VS.NET because it integrates well with my
server-side environment), test - and quite often do
if(isIE){//IE-specific;} if(isFF){//Firefox-specific;}... - in all
target environments.
While it is good to see that after all this time you are telling about you
are able to differentiate between host environments and their associated
AOM/DOM, you still have to learn to differentiate between execution/runtime
environments, i.e. ECMAScript implementations . I was more referring to mere
differences between the language implementations , and between their versions
that you would be dealing with, instead. For example, the terms
"IE-specific" and "Firefox-specific" are not covering the differences
between JScript and JavaScript, whereas the former is used by all versions
of the MSHTML browser component, and the latter is used by *all* Gecko-based
UAs (in different versions each), and they are ignoring other implementations .

See also http://PointedEars.de/es-matrix (I am going to add and test more
implementations , particularly Opera ECMAScript, and Apple JavaScriptCore as
of Safari 3.1 for Windows).
PointedEars
--
Use any version of Microsoft Frontpage to create your site.
(This won't prevent people from viewing your source, but no one
will want to steal it.)
-- from <http://www.vortex-webdesign.com/help/hidesource.htm>
Jun 27 '08 #22

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
2823
by: Ivan Debono | last post by:
Hi, I keep getting an Unknown runtime error on line 3 below: 1 If oField.Type <> 136 Then 'adChapter 2 If Right(oField.name, 3) = "_id" Then 3 For Each oKey In oTable.Keys 4 If oKey.Type = 2 Then 'adKeyForeign 5 Set oCol = oKey.Columns(0)
0
1253
by: Sccr18 | last post by:
I am trying to unlock IDs using active directory. One line of code keeps giving my the same error: System.Runtime.InteropServices.COMException: Unknown error. No matter how I type this line in I get the same error. If anyone has any suggestions on how to solve this problem, it would be greatly appreciated. Examples of how the line is written: if usrobj.invoke("usrobj.IsAccountLocked = true") then if usrobj.invoke("IsAccountLocked =...
5
20448
by: Lars-Erik Aabech | last post by:
Hi! Guess it's my day again.. Tried to deploy a test release of a new asp.net web today, and got a terrible error. The web is running swell on three development computers, but when it's copied to the test server it won't work at all. Looks like aspnet_wp is trying to compile it for five seconds, then it stops working what so ever. The system event log gets the following entry: Application popup: aspnet_wp.exe - Application Error : The...
22
1882
by: José Teixeira Junior | last post by:
Hi, How i can add one new unknown control at runtime in my form1? Thaks.
10
2192
by: rwalrus | last post by:
Getting an "unknown runtime error code 0" in IE6 on the last two lines of the function below. Works fine in Firefox 1.5, I can't figure out what IE is complaining about. Both "subtotal" and "totaldiv" are divs with the respective ids, both contain only "$0" initially. function updateprice(packageName) { document.orderForm.Subpackage.value = packageName; var tempsub = getSelectedRadioValue(document.orderForm.subscription); var sub1 =...
7
38027
by: John | last post by:
Hi Everyone, I'm having this extremely annoying problem with Internet Explorer 6, giving me an error message saying "unknown runtime error" whenever I try to alter the contents of a <divelement using innerHTML. Now, I've researched this problem on the web, and found many references to it, but none of them quite addressed my specific situation, and since my experience with JavaScript is limited, I was not able to adapt the solutions I...
1
11449
by: sasikumarks | last post by:
Hi, Im using the following code to retrieve the user details from the AD server. But when i execute the code,it throws me the error. Please help me in this regards."System.Runtime.InteropServices.COMException (0x8007052E): Logon failure: unknown user name or bad password. at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.DirectoryEntry.Bind() at...
3
2078
by: vp.softverm | last post by:
hi all in the follwing part of code am getting the unknown runtime error at <select> any help .......................................... Org.getCategories({callback:function(cat) { var begin="<select name='categorylist' id='categorylist' onchange='eval(this.value);'>"; var opt="<option value=\"\" >Select Category</option>"; for(var i=0; i<cat.length; i++)
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10172
jinu1996
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...
1
10110
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,...
0
8993
agi2029
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...
0
6750
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();...
0
5398
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...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.