JavaScript Code Interview Questions
Questions Answers Views Company eMail

Reading which Character Key was pressed

1 3378

how to prevent an Event from performing its default behavior

CAE,

1890

how to copy form data between different pages

1687

maximizing the main window

1645

how to delay a function call ?

1 2918

code to get the coordinates of a Click Event

1752

How to encode and decode URL strings?

TCS,

1804

determine which Element received an Event

1913

How to test whether two strings are equal or not ?

1 4413

advance the focus to next consecutive fields when Enter Key is pressed

TCS,

1806

how to get the User's Time of Day

HCL,

1682

write a program to detect the user's browser ?

Infosys,

1 2117

how to pass data between pages using Frames

2157

how to convert between arrays and strings

2121

validation code / function to allow only NUmbers in a text box

GE,

3 9945


Post New JavaScript Code Questions

Un-Answered Questions { JavaScript Code }

how to Auto Scroll the page

1639


code to set the main window's size

1717


how to create Expandable and Collapsible Menus

2665


code to detect versions of different browsers like internet explorer, netscape, mozilla, opera etc

1749


Create a ViewState Property?

2299






determine which Element received an Event

1913


write a code to generate pseudorandom numbes

1803


write a code that user can choose/alter Body Text Size

1616


advance the focus to next consecutive fields when Enter Key is pressed

1806


I have a doubt regarding including tags in a function. I have written a function in javascript in a html page. The function got called by clicking a button, i want to display the results in same html page by placing tags in the function. (this hmtl page is static page) Is this possible? example: