Click here to Skip to main content
15,890,512 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Decision in HTML Page Pin
User 17164925-Apr-10 7:03
professionalUser 17164925-Apr-10 7:03 
GeneralRe: Decision in HTML Page Pin
Dalek Dave5-Apr-10 7:46
professionalDalek Dave5-Apr-10 7:46 
GeneralRe: Decision in HTML Page Pin
User 17164925-Apr-10 11:19
professionalUser 17164925-Apr-10 11:19 
GeneralRe: Decision in HTML Page Pin
Dalek Dave5-Apr-10 11:51
professionalDalek Dave5-Apr-10 11:51 
GeneralRe: Decision in HTML Page Pin
daveyerwin5-Apr-10 8:26
daveyerwin5-Apr-10 8:26 
GeneralRe: Decision in HTML Page Pin
Dalek Dave5-Apr-10 8:42
professionalDalek Dave5-Apr-10 8:42 
QuestionJava - Eclipse JEE 3.4 and JBoss 5 (Missing classpath entry) Pin
Ram Bonala5-Apr-10 1:54
Ram Bonala5-Apr-10 1:54 
QuestionExternal Javascript Generates "Object Expected" Error in Internet Explorer Pin
Skippums4-Apr-10 15:24
Skippums4-Apr-10 15:24 
I am pulling out my hair! All I want is for my method to be called in the body onload event. I am currently getting an "object expected" error when calling the external javascript function. I have given up, and hope that someone here can explain to me why the following works in every browser known to man except internet explorer:

tester.html
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <script type="text/javascript" src="tester.js"></script>
    <meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
    <title>Test Application</title>
  </head>
  <body onload="testFunc();">
    <h1>Test Application</h1>
  </body>
</html>

tester.js
function testFunc() {
  alert('foo');
}
Thanks for any assistance,
Sounds like somebody's got a case of the Mondays

-Jeff

AnswerRe: External Javascript Generates "Object Expected" Error in Internet Explorer Pin
R. Giskard Reventlov4-Apr-10 21:06
R. Giskard Reventlov4-Apr-10 21:06 
AnswerRe: External Javascript Generates "Object Expected" Error in Internet Explorer Pin
Alaric_5-Apr-10 4:13
professionalAlaric_5-Apr-10 4:13 
Questionget all elements under a mouse drag selection [modified] Pin
Jayapal Chandran1-Apr-10 19:45
Jayapal Chandran1-Apr-10 19:45 
AnswerRe: get all elements under a mouse drag selection Pin
daveyerwin2-Apr-10 1:20
daveyerwin2-Apr-10 1:20 
GeneralRe: get all elements under a mouse drag selection Pin
Jayapal Chandran4-Apr-10 0:55
Jayapal Chandran4-Apr-10 0:55 
GeneralRe: get all elements under a mouse drag selection Pin
Not Active4-Apr-10 5:48
mentorNot Active4-Apr-10 5:48 
GeneralRe: get all elements under a mouse drag selection Pin
Jayapal Chandran4-Apr-10 6:43
Jayapal Chandran4-Apr-10 6:43 
GeneralRe: get all elements under a mouse drag selection Pin
Not Active4-Apr-10 7:50
mentorNot Active4-Apr-10 7:50 
GeneralRe: get all elements under a mouse drag selection Pin
Jayapal Chandran5-Apr-10 7:09
Jayapal Chandran5-Apr-10 7:09 
Questionsendemail to those whose email id is in text file Pin
rajivkadam4201-Apr-10 19:42
rajivkadam4201-Apr-10 19:42 
AnswerRe: sendemail to those whose email id is in text file - not an expected reply Pin
Jayapal Chandran4-Apr-10 6:48
Jayapal Chandran4-Apr-10 6:48 
AnswerRe: sendemail to those whose email id is in text file Pin
raghvendrapanda5-Apr-10 3:20
raghvendrapanda5-Apr-10 3:20 
QuestionWeb Services -- start up notifications Pin
RedZenBird1-Apr-10 14:22
RedZenBird1-Apr-10 14:22 
Questionajax, xml results and ie error "object required" Pin
cjoki1-Apr-10 9:12
cjoki1-Apr-10 9:12 
AnswerRe: ajax, xml results and ie error "object required" [modified] Pin
daveyerwin1-Apr-10 12:44
daveyerwin1-Apr-10 12:44 
GeneralRe: ajax, xml results and ie error "object required" Pin
cjoki6-Apr-10 9:00
cjoki6-Apr-10 9:00 
QuestionFrom C++ to Web - which way to go? Pin
Caslen1-Apr-10 6:10
Caslen1-Apr-10 6:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.