Scripts_Markup Code Interview Questions
Questions Answers Views Company eMail

how to Scroll a DIV content

SoftSquare,

2257

how to create Expandable and Collapsible Menus

2742

how to determine which Mouse Button was pressed

1 2478

create a slide show

Genpact,

1 3571

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

HCL,

1826

code to images to rollover

1944

code to create a new window

1845

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

1684

code to Hide and Show form controls

1890

write a code to generate pseudorandom numbes

ABC,

1886

code to set the main window's size

1792

code to calculate the number of days between two dates

2 9937

program to bring a window to the front

1659

code to keep a page Out of the browser history

1741

create Drop-Down Navigation Menus

TCS,

1796


Un-Answered Questions { Scripts_Markup Code }

What are XML Namespaces?

391


How to store the iterations value in some variable/ in excel? Dim objExcel, ObjFolder, objPath, objWorkbook, objSheet, ObjFSo, ObjFolderName, strExcelPath Const xlExcel7 = 39 ObjFolderName = "Testing" & Hour(time()) & Minute(time()) &Second(time()) objPath = "D:\" strExcelPath = objPath & ObjFolderName & "\testing.xls" Set ObjFSo = CreateObject("Scripting.FileSystemObject") Set objFolder = objFSO.CreateFolder(objPath & ObjFolderName) On Error Resume Next Set objExcel = CreateObject("Excel.Application") If (Err.Number <> 0) Then On Error GoTo 0 Wscript.Echo "Excel application not found." Wscript.Quit End If On Error GoTo 0 Set objWorkbook = objExcel.Workbooks.Add() Set objSheet = objExcel.ActiveWorkbook.Worksheets(1) Dim arr1, arr2, arr3 Set outputLines = CreateObject ("System.Collections.ArrayList") arr1 = 123arr2 = 99 arr3 = 10 outputLines.Add arr1 outputLines.Add arr2 outputLines.Add arr3 outputLines.Sort() For Each outputLine in outputLines WScript.Echo outputLine ' how to store this value in excel/ variable? Next objExcel.ActiveWorkbook.SaveAs strExcelPath, xlExcel7 objExcel.ActiveWorkbook.Close objExcel.Application.Quit This above code is working fine but the qs is is there any way to store the sort data in variables / in the excel and how?

2532


Write a python program to check if a string is a palindrome or not?

581


Write a python program to find the second largest number in a list?

555


How to block double clicks

1697






What is SAX in XML?

418


Code for Adding Scripting Support to an Application?

1380


How can a procedure fetch data from FTP? I need a general code for this..

1365


how to create a Draggable element

2039


How to add flash or *.gif file in edit panel in java?

2010


How do you set a global variable inside a function?

523


sample code to auto focusing the first field in a form

2122


Code to Block submission of form by pressing Enter Key

2173


Why XML has been used for development?

386


What are the features of XML?

415