How you will write a java script function that display an alert on the screen?



How you will write a java script function that display an alert on the screen?..

Answer / hilmionell

alert("Hello my friend");

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More JavaScript Interview Questions

Explain how to write class methods vs. Instance methods.

0 Answers  


How to set the focus in an element using javascript?

0 Answers  


Does html5 replace javascript?

0 Answers  


How many types of functions JavaScript supports?

0 Answers  


Hello , I am using following java script to open new window in I.E,but i am facing an issue the new window hangs often while opening,when you move mouse it opens normally.Can any body help me why this is happening as i am unable to understand this issue?please please if any one know so kindly help me I am in real difficulty through this issue.Thanks 'if(window.clipboardData){clipboardData.setData("Text","' + a.PatID + '");}' + 'ordwindow= window.open ("' + @OrderDetailURL + '", "RXOrderDetail", "location=0,status=0,menubar=0,toolba r=0,scrollbars=1,resizable=1"); ordwindow.moveTo(parent.screenLeft,0);var x; x=new ActiveXObject("WScript.Shell");x.SendKeys("% "); x.SendKeys ("x"); //fcttest((sp_RX_ChangeOrderStatus ' + '''' + a.DocID + '''' + ', 1, ' + convert(varchar,@SessionID) + '));' As [W],

0 Answers  






What is called variable typing in javascript?

0 Answers  


How do you create array in javascript?

0 Answers  


What is purpose of onerror event handler in javascript?

0 Answers  


Is an interface is a class?

1 Answers  


Is javascript case sensitive language?

0 Answers  


Have you used any browser for debugging? If yes, how is it done?

0 Answers  


Should you disable javascript?

0 Answers  


Categories