| Other JavaScript Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Hi Friends, I am new to java, please provide some use full
docs, and where can i get basic Java script docs...
thanx in advance | | 8 |
| What are the security related issues in JavaScript scripts? | Four-soft | 3 |
| what is difference between client side scripting and server
side scripting? | NIIT | 3 |
| What does isNaN function do? | Satyam | 2 |
| How do you create a new object in JavaScript? | Satyam | 2 |
| Explain about session? Where it runs & what are different
types of session handling?
| | 1 |
| disbable back option by java script | TCS | 5 |
| Can you tell me how to send email using javascript? | | 2 |
| What are JavaScript types? | Satyam | 2 |
| Write sample code for pagination using java script.
| | 1 |
| program showing string concatenation? | | 1 |
| What is the use of the String Tokenizer | | 1 |
| Can you call a Java Applet using a JavaScript function? | Satyam | 1 |
| We are facing problem with the compatibilty of IE 7 and IE
6.We are calling a showModal window that is working fine in
IE6 but with IE7 it opens a new Window and Data is not
getting poputaled.In some pages it Gives an error "The
webpage you are viewing is trying to Close the window.Do
you want to close this window". | TCS | 4 |
| why you used Java Script? Can it use for both client side
and server side validation purpose? | BeBo-Technologies | 8 |
| Does javascript support multidimensional arrays ? | | 2 |
| Can i create an login account with javascript ,without using
database ? | | 2 |
| what is inheritence | Wipro | 2 |
| i want to display time using hidden variable in a page,but
when i click button that page that hidden variable loosing
its value.i m sending the code also.
<script type="text/javascript" language="javascript">
var tick=0;
window.onload = function() {
//debugger
if(document.getElementById("hdnTicker").value != "")
tick =
parseInt(document.getElementById("hdnTicker").value);
setInterval("Timer()",1000);
}
function Timer()
{
//debugger
document.getElementById("hdnTicker").value = tick++;
//alert(document.getElementById("hdnTicker").value);
document.getElementById("lblTimeSpent").innerHTML = "0." + tick;
if(tick == 30)
{
//message or redirect to result window
alert('time is out');
//clearTimeout();
}
} </script>
<form id="form1" runat="server">
<div>
<table>
<tr>
<td>
<asp:Label ID="lblTimeSpent" runat="server"
Visible="true" ForeColor="Blue" ></asp:Label>
</td>
<td>
<%-- <asp:textbox EnableViewState="true"
id="hdnTicker" runat="Server"
style="visibility:hidden"></asp:textbox>--%>
</td>
</tr>
<tr>
<td>
<asp:Button ID="btn" runat="server"
Text="hi" OnClick="btn_Click" Height="30px" Width="60px" />
</td>
</tr>
</table>
<%--<asp:HiddenField ID="txt" runat="server"
Visible="true" />--%>
</div>
</form>
<input type="hidden" id="hdnTicker" name="hdnTicker"
enableviewstate="true" runat="server" /> | | 1 |
| how to post the form without submit button with help of
javascript | | 1 |
| |
| For more JavaScript Interview Questions Click Here |