Scripts_Markup Code Interview Questions
Questions Answers Views Company eMail

What is the best way to make wordpress plugin

TCS,

1875

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.

1608

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.

1910




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,

1665

BASIC CALCULATOR


how do i make the calculator work now

1 2039

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

1 1637

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

1265

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 1678

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 1666

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

1 3378

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

1482

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

eClinicalWorks,

4 4961

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

Polaris,

1148

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

JPMorgan Chase,

1 1867

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

1 751







Un-Answered Questions { Scripts_Markup Code }

Code to Block submission of form by pressing Enter Key

1344


Write a function that takes as input a binary tree, and prints out each level of the tree on a newline. For example: a / b c / / d e f will output: a b c d e f

570


How to call JavaScript Function from Code-behind in asp.net?

399


Reading which Non-Character Key was pressed

929


how to remove or delete multiple selected items from listbox in on button click in asp?

407


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

824


Code for Adding Scripting Support to an Application?

1209


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

1265


can everyone explain this code Private Sub DrawRect(rectSource As RECT, lngColour As Long) Line (rectSource.Left, rectSource.Top)-(rectSource.Left, rectSource.Bottom), lngColour Line (rectSource.Left, rectSource.Top)- (rectSource.Right, rectSource.Top), lngColour Line (rectSource.Right, rectSource.Bottom)- (rectSource.Right, rectSource.Top), lngColour Line (rectSource.Right, rectSource.Bottom)- (rectSource.Left, rectSource.Bottom), lngColour End Sub

1533


how to create an anonymous function

944


code to detect availability of cookies

1045


I'm calling a JS fcn that fires AJAX to a webmethod and returns a boolean. How do I retrieve the return value in the codebehind? (VB) I can set a hiddenfield value in the JS, but if it's async how can my VB know when it's changed?

461


how to convert between arrays and strings

1339


function to combine two or more arrays

875


write a code to generate pseudorandom numbes

1014