Scripts_Markup Code Interview Questions
Questions Answers Views Company eMail

how to Scroll a DIV content

SoftSquare,

1535

how to create Expandable and Collapsible Menus

2029

how to determine which Mouse Button was pressed

1172




create a slide show

Genpact,

1 2031

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

HCL,

1140

code to images to rollover

1228

code to create a new window

1171

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

1030

code to Hide and Show form controls

1182

write a code to generate pseudorandom numbes

ABC,

1206

code to set the main window's size

1107

code to calculate the number of days between two dates

2 8096

program to bring a window to the front

948

code to keep a page Out of the browser history

1012

create Drop-Down Navigation Menus

TCS,

1117







Un-Answered Questions { Scripts_Markup Code }

Code for using a Hot Key in an ActiveX Control?

1259


How can export database using php code?

952


code to detect availability of cookies

1214


What is the best way to make wordpress plugin

2039


How to block double clicks

1003






communication between main window and new windows

1103


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?

1819


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: