15,895,084 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 Swapnil 2009 (Top 18 by date)
Swapnil 2009
19-Oct-10 5:15am
View
hey no dude..that's not the problem. u can specify value between 0 15000
Swapnil 2009
19-Oct-10 5:13am
View
sory mate..bt it doesn't work..I mean how can u store value in a variable and expect it to be available on the .aspx page.After post back the value will die. I tried it it gives me error as expected..any other method??
Swapnil 2009
11-Oct-10 3:36am
View
Hey Sandeep, I tried that solution of yours but that doesn't seem to work in my case. The client side time is not displayed on page load. Can you help to sort out the problem?
Swapnil 2009
4-Oct-10 1:48am
View
Yes my friend ankur. I am trying this for 4 dayz.I got many answers fro this but none seem to work.the link which u gave for that I am getting an error as in
<%@ Register TagPrefix="pseudoengine" Namespace="PseudoEngine"
Assembly="PseudoMp3" %>
this control is not available.. so can u tell what should be done to obtain that control?
Swapnil 2009
23-Sep-10 8:27am
View
thnks dude I solved that problem..but can u tell me how can I call two javascript function on one click?
Calling one function inside other doesnt seem to work.
function EncryptMD5()
{
var Pass = document.getElementById("<%=txtPassword.ClientID%>").value;
// Encrypte the password
if (Pass.length > 0 )
{
var MD5Hash = hex_md5(Pass);
var salt = document.getElementById("<%=SaltStr.ClientID%>").value;
MD5Hash = hex_md5(salt+MD5Hash);
document.getElementById("<%=HashPass.ClientID%>").value = MD5Hash;
document.getElementById("<%=txtPassword.ClientID%>").value = MD5Hash;
}
DisplayDateTime()
}
function DisplayDateTime()
{
var DateTime = new Date();
var strYear= DateTime.getYear();
var strMonth= DateTime.getMonth() +1;
var strDay = DateTime.getDate();
var strHours = DateTime.getHours();
var strMinutes = DateTime.getMinutes();
var strSeconds = DateTime.getSeconds();
var dateTime=document.getElementById("hiddenfield1");
dateTime.innerText = strDay + "/" + strMonth + "/" + strYear + " " + strHours + ":" + strMinutes + ":" + strSeconds;
}
Swapnil 2009
23-Sep-10 7:05am
View
one more small problem..plz can u help me?
How to call two javascript function on a click of a single button?
I mean is this ok?
OnClientClick="EncryptMD5();DisplayDateTime();"
Swapnil 2009
23-Sep-10 6:53am
View
Becoz I waz doing it on a page having master page.It did not had the body tag.Body tag was on the master page.so what I did is took a hiddenfield and stored the value in it(as value persist in it even after postback) and then applied the value to label. Problem solved!!Thank u very mush for your help.
Cheers!!
Swapnil 2009
23-Sep-10 6:35am
View
Hey Hiren the code runs fine if I execute it on onload event of body but if I run it onClientClick of button then its on showing the time. Is it because when the page is post back the values are lost??
Swapnil 2009
23-Sep-10 6:30am
View
I have posted the code..Can u plz tell me where I am going wrong??:(
Swapnil 2009
23-Sep-10 5:33am
View
Sorry by mistake it went as 2. I wanted to give 4..sincerely sorry..I accept it was a good answer..but didn't solve the problem. :(
Swapnil 2009
23-Sep-10 5:28am
View
If u thought of some solution plz inform me..thanks mate..
Swapnil 2009
23-Sep-10 5:26am
View
Ya..must be some small problem..Thnks for so much help..I will check whats the problem..
Swapnil 2009
23-Sep-10 5:24am
View
If I use the same code on a separate small demo project,it works fine.
but when I embed it in my original project it doesn't seem to work.
Swapnil 2009
23-Sep-10 5:21am
View
Sorry yaar..That didn't solve the problem either..may be some other solution.
Swapnil 2009
23-Sep-10 5:06am
View
No I want to fire only client side event. I have not written any other code on server side.
Swapnil 2009
23-Sep-10 3:55am
View
Deleted
ok..so can u please tell me how to solve this problem??
Swapnil 2009
13-Aug-10 0:41am
View
sory the problem is not solved yet..Do u have any other idea??
Swapnil 2009
15-Jul-10 3:06am
View
Thanks friends I am able to do it now..just googled it and found the solution..
Thnk you for all your help and support..
Show More