| Other JavaScript Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| program showing string concatenation? | | 3 |
| What is the difference between java and java script?
| Wipro | 3 |
| Write sample code for pagination using java script.
| | 1 |
| What does "1"+2+4 evaluate to? | Satyam | 4 |
| 1) How can we use java script in testing the application?
2) What all the things(Software application - like browser, notepad) we need to
learn Jscript? | | 1 |
| What does isNaN function do? | Satyam | 2 |
| What looping structures are there in JavaScript? | Satyam | 1 |
| What is a way to append a value to an array? | Satyam | 5 |
| 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 |
| Can i create an login account with javascript ,without using
database ? | | 2 |
| I have a report which has id as hyperlink.when i click the
id it should move to next report which displays the
corresponding details.tell me how to get the value of
hyperlink(which id is clicked) dynamically using javascript?
so that i can make condition on my second report? | | 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 |
| what is inheritence | Wipro | 3 |
| What are the methods of validating whether the form is
secure? | | 1 |
| How do you send a message to the browser in JavaScript? | Four-soft | 2 |
| What is the relationship between JavaScript and ECMAScript? | Satyam | 4 |
| how to post the form without submit button with help of
javascript | | 1 |
| What is this keyword? | Satyam | 5 |
| Can you call a Java Applet using a JavaScript function? | Satyam | 1 |
| What are the different ways in which we can use the link
tag ? Illustrate with an example. Is it possible to link a
file with another file on a different file server ? If yes,
how ? | | 1 |
| |
| For more JavaScript Interview Questions Click Here |