Click here to Skip to main content
15,949,686 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: page header-footer Pin
Bradml30-Jan-07 0:22
Bradml30-Jan-07 0:22 
QuestionAdding TR after X rows Pin
brad_lucas29-Jan-07 21:48
brad_lucas29-Jan-07 21:48 
AnswerRe: Adding TR after X rows Pin
Vasudevan Deepak Kumar29-Jan-07 22:17
Vasudevan Deepak Kumar29-Jan-07 22:17 
GeneralRe: Adding TR after X rows Pin
brad_lucas29-Jan-07 22:54
brad_lucas29-Jan-07 22:54 
GeneralRe: Adding TR after X rows Pin
badgrs30-Jan-07 0:06
badgrs30-Jan-07 0:06 
GeneralRe: Adding TR after X rows Pin
brad_lucas30-Jan-07 1:05
brad_lucas30-Jan-07 1:05 
QuestionReading SharePoint User Information in ASP.NET Pin
A M SOMAN29-Jan-07 20:09
A M SOMAN29-Jan-07 20:09 
GeneralRe: Reading SharePoint User Information in ASP.NET Pin
A M SOMAN29-Jan-07 20:25
A M SOMAN29-Jan-07 20:25 
QuestionA question about two regular expression patterns, please help. Pin
howardjr29-Jan-07 10:30
howardjr29-Jan-07 10:30 
AnswerRe: A question about two regular expression patterns, please help. Pin
Guffa30-Jan-07 5:44
Guffa30-Jan-07 5:44 
GeneralRe: A question about two regular expression patterns, please help. Pin
howardjr31-Jan-07 9:26
howardjr31-Jan-07 9:26 
AnswerRe: A question about two regular expression patterns, please help. Pin
Christian Graus30-Jan-07 10:56
protectorChristian Graus30-Jan-07 10:56 
GeneralRe: A question about two regular expression patterns, please help. Pin
howardjr31-Jan-07 9:27
howardjr31-Jan-07 9:27 
QuestionCached page problem Pin
itsgeeky29-Jan-07 6:57
itsgeeky29-Jan-07 6:57 
AnswerRe: Cached page problem Pin
Bradml29-Jan-07 13:06
Bradml29-Jan-07 13:06 
GeneralRe: Cached page problem Pin
itsgeeky29-Jan-07 23:59
itsgeeky29-Jan-07 23:59 
GeneralRe: Cached page problem Pin
Bradml30-Jan-07 0:08
Bradml30-Jan-07 0:08 
GeneralRe: Cached page problem Pin
itsgeeky30-Jan-07 1:55
itsgeeky30-Jan-07 1:55 
GeneralRe: Cached page problem Pin
badgrs30-Jan-07 5:25
badgrs30-Jan-07 5:25 
GeneralRe: Cached page problem Pin
itsgeeky30-Jan-07 6:07
itsgeeky30-Jan-07 6:07 
GeneralRe: Cached page problem Pin
Bradml30-Jan-07 20:37
Bradml30-Jan-07 20:37 
Questiononclick load js file Pin
militiaware28-Jan-07 22:52
militiaware28-Jan-07 22:52 
AnswerRe: onclick load js file Pin
Bradml28-Jan-07 23:13
Bradml28-Jan-07 23:13 
AnswerRe: onclick load js file Pin
badgrs29-Jan-07 0:04
badgrs29-Jan-07 0:04 
GeneralRe: onclick load js file Pin
militiaware29-Jan-07 1:51
militiaware29-Jan-07 1:51 
Sorry for not being clear!

actually the code is like this

function load(script_filename) {

var html_doc = document.getElementsByTagName('head').item(0);
var js = document.createElement('script');
js.setAttribute('language', 'javascript');
js.setAttribute('type', 'text/javascript');
js.setAttribute('src', script_filename);
html_doc.appendChild(js);
return false;

}

and:
<input ..... onclick="load('path')" ..>

now, on click the extrnal js file loaded and running fine on firefox, ie7, opera, but not on ie6

in ie6 the js file seems to be trying to load....
when i add the alert after the appendChild statement, the problem disappear and the external js loads.



Faris Madi
Nothing Comes Easy (N.C.E.)

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.