Click here to Skip to main content
15,888,351 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: How can i refresh status bar information... Pin
thatraja30-Apr-11 8:22
professionalthatraja30-Apr-11 8:22 
NewsSorry Pin
Olli Ikonen30-Apr-11 10:01
Olli Ikonen30-Apr-11 10:01 
Question[RESOLVED] innerHTML messed up Pin
CodingLover27-Apr-11 18:58
CodingLover27-Apr-11 18:58 
AnswerRe: innerHTML messed up Pin
AspDotNetDev27-Apr-11 19:43
protectorAspDotNetDev27-Apr-11 19:43 
GeneralRe: innerHTML messed up Pin
CodingLover27-Apr-11 21:09
CodingLover27-Apr-11 21:09 
AnswerRe: innerHTML messed up Pin
Gerben Jongerius27-Apr-11 20:53
Gerben Jongerius27-Apr-11 20:53 
GeneralRe: innerHTML messed up Pin
CodingLover27-Apr-11 21:11
CodingLover27-Apr-11 21:11 
GeneralRe: innerHTML messed up Pin
Gerben Jongerius27-Apr-11 21:47
Gerben Jongerius27-Apr-11 21:47 
You should only apply the eval on the script code part. So excluding any HTML. In your case you would have to try and split the javascript code from the string you are trying to append and eval that.

You would append <a href=\"#\" önclick=\"call_Al();\" >Click Here</a> this part to the innerHTML attribute and pass the content of the javascript to the eval statement. Keep in mind you will need to rewrite your javascript slightly to:

eval("call_Al = function() { alert('this is a message'); }");

GeneralRe: innerHTML messed up Pin
CodingLover27-Apr-11 23:11
CodingLover27-Apr-11 23:11 
QuestionDynamics CRM 2011 - Cutomizing datetime picker in CRM Form [SOLVED] Pin
phil.o27-Apr-11 4:55
professionalphil.o27-Apr-11 4:55 
AnswerRe: Dynamics CRM 2011 - Cutomizing datetime picker in CRM Form Pin
Graham Breach27-Apr-11 12:06
Graham Breach27-Apr-11 12:06 
GeneralRe: Dynamics CRM 2011 - Cutomizing datetime picker in CRM Form Pin
phil.o27-Apr-11 20:39
professionalphil.o27-Apr-11 20:39 
Questionjquery ajaxupload Pin
dbongs25-Apr-11 23:46
dbongs25-Apr-11 23:46 
AnswerRe: jquery ajaxupload Pin
Monjurul Habib27-Apr-11 9:42
professionalMonjurul Habib27-Apr-11 9:42 
Questioncalander Pin
amit.veterans23-Apr-11 21:28
amit.veterans23-Apr-11 21:28 
AnswerRe: calander Pin
thatraja24-Apr-11 18:06
professionalthatraja24-Apr-11 18:06 
AnswerRe: calander Pin
RakeshMeena9-Jun-11 19:36
RakeshMeena9-Jun-11 19:36 
QuestionAll code on one line? Pin
#realJSOP23-Apr-11 1:04
mve#realJSOP23-Apr-11 1:04 
AnswerRe: All code on one line? Pin
Not Active23-Apr-11 3:12
mentorNot Active23-Apr-11 3:12 
GeneralRe: All code on one line? Pin
#realJSOP23-Apr-11 3:37
mve#realJSOP23-Apr-11 3:37 
GeneralRe: All code on one line? Pin
Not Active23-Apr-11 4:36
mentorNot Active23-Apr-11 4:36 
AnswerRe: All code on one line? Pin
RakeshMeena9-Jun-11 19:44
RakeshMeena9-Jun-11 19:44 
QuestionBrowse for folder Pin
krutikaji22-Apr-11 7:40
krutikaji22-Apr-11 7:40 
AnswerRe: Browse for folder Pin
Not Active22-Apr-11 8:58
mentorNot Active22-Apr-11 8:58 
Questionajaxupload [modified] Pin
dbongs21-Apr-11 0:23
dbongs21-Apr-11 0:23 

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.