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

Web Development

 
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 
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 
(I apologize for the shortness of this answer, but I am currently at work. I was looking for an answer to my own question and I thought I might be able to help you with this)


Do you have the requirement that you *MUST* use the strict doc type def? At least for debugging purposes, try switching over to the Transitional DTD and see if your problem "magically" disappears.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

If it DOES disappear, and you have a "strict.dtd requirement", then you need to investigate which rule of the strict.dtd you have violated.

If you're developing with VS2008, put a breakpoint inside testFunc and see if you actually enter the method on pageLoad.

You also might want to test out switching your script to be written within a script block on the page rather than loaded from file. If that works, then you've got a problem with your file hooks.
<script type="text/javascript">
  function testFunc(){
     alert('foo');
  }
</script>
...
<body onload="testFunc();">


If that doesn't work, then try switching out your double quotes to be single quotes just for gits and shiggles.

I know it's not super specific to the effect of "Oh. I know exactly what's causing that" but I hope I pointed you in a couple directions that might let you figure it out for yourself. Good luck!
"I need build Skynet. Plz send code"

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 
AnswerRe: From C++ to Web - which way to go? Pin
Not Active1-Apr-10 6:43
mentorNot Active1-Apr-10 6:43 
GeneralRe: From C++ to Web - which way to go? Pin
Caslen1-Apr-10 8:29
Caslen1-Apr-10 8:29 

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.