15,895,667 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by verma.vivek (Top 12 by date)
verma.vivek
3-May-20 2:29am
View
yes
verma.vivek
27-Apr-20 4:32am
View
the above link does not have any solution, can you check?
verma.vivek
27-Apr-20 4:00am
View
Can you please share the link here. I have tried but not get a feasible solution. Thanks in advance.
verma.vivek
23-Sep-19 12:23pm
View
ok, suggest me that one.
verma.vivek
21-Sep-19 11:37am
View
I have just asked as scenario. I have given an interview.
I have suggested one of data structure to interviewer. But might be not worthy. So if anyone answer this or any link it's would be helpful.
verma.vivek
10-Sep-19 10:38am
View
I want in details theory that when we have to get an undefined and null error.
verma.vivek
18-Nov-16 14:46pm
View
<asp:Label ID="Label1" runat="server" Text="2 Js call">HHHH
<asp:Label ID="Label2" runat="server" Text="">
// show1() and show2() call in Label1//
========================================================================
function show1() {
var lb = document.getElementById('Label1').innerHTML;
document.getElementById("Label2").innerHTML = lb;
}
function show2() {
$.ajax({
type: "POST",
url: "JS2.aspx/GetCurrentTime",
data: '{name: "' + document.getElementById("Label2").innerHTML + '" }',
contentType: "application/json; charset=utf-8",
dataType: "json",
success: OnSuccess,
failure: function (response) {
alert(response.d);
}
});
}
function OnSuccess(response) {
alert(response.d);
}
============================================================
[System.Web.Services.WebMethod]
public static string GetCurrentTime(string name)
{
return "Hello " + name + Environment.NewLine + "The Current Time is: "
+ DateTime.Now.ToString();
}
===============================
PROBLEM is here
data: '{name: "' + document.getElementById("Label2").innerHTML + '" }'
I did not pass Label2 value here , so its show undefiend.Pls help me
verma.vivek
18-Nov-16 0:56am
View
Actually I am New, and I have in problem how to passed in the ajax call (data: {})
then how to receive. give me some example or demo...pls
Its really help to me
verma.vivek
10-Nov-16 2:18am
View
I have not write any code. I am new, just want to validate.
Textbox accept numeric and alphabet, bur always start with alphabet.
show all code...
verma.vivek
4-Nov-16 2:01am
View
I already read this, but didn't get exact solution. Pls suggest...
verma.vivek
22-Oct-16 5:39am
View
1. I should not need data, Only Columns Name.
2. and The sheet name of Excel is same as Table Name.
3. and on the same Excel file use no. of sheets as table name & their attributes(column name)
verma.vivek
22-Oct-16 5:18am
View
1. I should not need data, Only Columns Name.
2. The sheet name Excel is same as Table Name.
Show More