Scripts_Markup Code Interview Questions
Questions Answers Views Company eMail

What is the best way to make wordpress plugin

TCS,

1697

Given a string=”me,I,myself”; .Using javascript only create an array out of this string and then send a POST request to the url “record.php” without reloading the page. The post key parameters should be n1,n2 and n3 respectively.

1482

Given a string=”me,I,myself”; .Using javascript only create an array out of this string and then send a POST request to the url “record.php” without reloading the page. The post key parameters should be n1,n2 and n3 respectively.

1801

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?

Wipro,

1532

BASIC CALCULATOR


how do i make the calculator work now

1 1786

Keep all the contract numbers in a array and make a loop . Example:12134,5678,91011,1214125 are contract numbers.

1 1386

iam getting keyword or delimiter error while executing ICETOOL,provide me solution.

1154

write a program which asks the user for a digit INTEGER and outputs show in 5 digit . example user enter :89 and output should be 00089

1 1340

Write a program which asks user for digit and output as 5 digit number (prefix as 0). example : 89 o/p should be 00089

1 1382

How to Check if a string is alphanumeric or not using VB Script

1 2592

Hey, any expert here can help me to creat php code. I want php code to calculate like below. input :12 April 1974 then perform this calculation: 12 + 4 + 1974 = 1990 1 + 9 + 9 + 0 = 19 1 + 9 = 10 1 + 0 = 1(final answer) this code i just want to used to share the personality from date of birth. The input come from user, base on user input, then php will calculate like above, and, the final answer will use do display the person attitude. example, final answer = 1, display patient person final answer = 2, will display hard working person

1368

<% for(inti=0;i>3;++i;) sop(i); %> %

eClinicalWorks,

4 4177

Can Any one suggest how we connect QTP and Mainframe and do validation from Mainfram screen

Polaris,

976

display 1 to 9 in a 3*3 matrix in vbscript

JPMorgan Chase,

1 974

write the vbscript code to print the following pattern :- 1 + (1 + 2) +(1+2+3).....

1 439



Un-Answered Questions { Scripts_Markup Code }

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?

1532


how to manage mlng timer because they don't explain what's it's function?

1658


code to images to rollover

926


code to Hide and Show form controls

826


code to get the coordinates of a Click Event

870


Write a function that takes an integer and returns the smallest number that is greater than the given number which is a palendrome. For example, if the input was 111 the next palindromic number would be 121.

346


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

1139


Write a function to efficiently convert a floating point number to a rational number. For example, given 0.125 return "1/8"

344


How to change winform look?

1417


how to create an anonymous function

784


create Drop-Down Navigation Menus

818


Can Any one suggest how we connect QTP and Mainframe and do validation from Mainfram screen

976


sample code to auto focusing the first field in a form

1112


how to pass data between pages using URLs

694


How can i know that how many user are visited to my page in php?

770