Scripts_Markup Code Interview Questions
Questions Answers Views Company eMail

What is the best way to make wordpress plugin

TCS,

1710

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.

1489

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.

1806

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,

1539

BASIC CALCULATOR


how do i make the calculator work now

1 1800

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

1 1409

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

1162

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 1353

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 1397

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

1 2627

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

1375

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

eClinicalWorks,

4 4243

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

Polaris,

989

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

JPMorgan Chase,

1 1055

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

1 453



Un-Answered Questions { Scripts_Markup Code }

How can get all database name using Php and Sql?

872


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

843


function to combine two or more arrays

756


Discuss an algorithm to traverse a tree, depth first.

346


sample code to auto focusing the first field in a form

1117


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.

1806


Given a circular list of integers (when you reach the end of the list you come back to the beginning), what is the most efficient algorithm to find the smallest integer in the list? For example: circular_list = [22, 52, 66, 82, 5, 8, 12, 19].

372


Write a function that takes an array of integers and returns that array rotated by N positions. For example, if N=2, given the input array [1, 2, 3, 4, 5, 6] the function should return [5, 6, 1, 2, 3, 4]

396


code to keep a page Out of the browser history

699


Can someone please explain more about how the XML Gateway works and what its purpose is?

1329


snippet to prevent submission of form when certain/any validations got failed

703


code to images to rollover

934


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.

350


How to access oralce10g data from server to client in LAN?

1126


create Drop-Down Navigation Menus

824