Click here to Skip to main content
15,895,084 members

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;

}