Click here to Skip to main content
16,004,969 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: how to Convert Text into Image in javascript? Pin
Christian Graus4-Jun-08 4:50
protectorChristian Graus4-Jun-08 4:50 
AnswerRe: how to Convert Text into Image in javascript? Pin
ayaxian5-Jun-08 13:26
ayaxian5-Jun-08 13:26 
QuestionStoring string variable with double quote Pin
hifiger20044-Jun-08 0:07
hifiger20044-Jun-08 0:07 
AnswerRe: Storing string variable with double quote Pin
Christian Graus4-Jun-08 4:51
protectorChristian Graus4-Jun-08 4:51 
QuestionC# web appliaction to PDF using iTextSharp Pin
Dhilipkumar3-Jun-08 22:47
Dhilipkumar3-Jun-08 22:47 
AnswerRe: C# web appliaction to PDF using iTextSharp Pin
Christian Graus4-Jun-08 4:52
protectorChristian Graus4-Jun-08 4:52 
QuestionRedirect to next page. Pin
Moghan3-Jun-08 22:35
Moghan3-Jun-08 22:35 
AnswerRedirect to next page. Pin
Moghan3-Jun-08 22:42
Moghan3-Jun-08 22:42 
Im just developing mini project using HTML and JavaScript. Find my code below.. The "window.location.href" is not working..

<html>
<head>
<title>My Login</title>
<script type="text/javascript">
function Validate()
{
if(document.getElementById("txtUserName").value == "")
{
alert("Enter User Name");
document.getElementById("txtUserName").focus();
return false;
}
if(document.getElementById("txtPwd").value == "")
{
alert("Enter Password");
document.getElementById("txtPwd").focus();
return false;
}
if((document.getElementById("txtUserName").value == "Bhuvana") && (document.getElementById("txtPwd").value == "Bhuvana123"))
{
//form.submit;
window.location.href="loginTest.htm";
//window.open("loginTest.htm", target="_self")
//return true;
}
else
{
alert("Login Failed");
document.getElementById("txtUserName").value="";
document.getElementById("txtPwd").value="";
document.getElementById("txtUserName").focus();
return false;
}
}
</script>
</head>
<body>
<FORM METHOD=GET>
<table align=center border=1 width="60%">
<tr>
<td align=center>
<br><br>
User Name :&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT NAME="CONTROL1" TYPE=TEXT ID=txtUserName>
<br><br>
Password &nbsp;&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT TYPE="PASSWORD" NAME="CONTROL2" ID=txtPwd>
<P align=center><INPUT TYPE="SUBMIT" VALUE="Login" onclick="javascript:return Validate();">&nbsp;<INPUT TYPE="RESET" VALUE="Reset"></P>
<br>
</td>
</tr>
</form>
</body>
</html>
AnswerRedirect to next page.(Change in Code) Pin
Moghan3-Jun-08 22:42
Moghan3-Jun-08 22:42 
RantRe: Redirect to next page.(Change in Code) Pin
Guffa3-Jun-08 23:00
Guffa3-Jun-08 23:00 
GeneralRe: Redirect to next page.(Change in Code) Pin
Guffa3-Jun-08 23:02
Guffa3-Jun-08 23:02 
QuestionGetting the value in between tags? Pin
hifiger20043-Jun-08 21:53
hifiger20043-Jun-08 21:53 
AnswerRe: Getting the value in between tags? Pin
Vasudevan Deepak Kumar3-Jun-08 21:56
Vasudevan Deepak Kumar3-Jun-08 21:56 
GeneralRe: Getting the value in between tags? Pin
hifiger20043-Jun-08 22:06
hifiger20043-Jun-08 22:06 
Questionconnecting to oracle db from web service = nightmare Pin
dsfdsfsdf3-Jun-08 21:50
dsfdsfsdf3-Jun-08 21:50 
QuestionRegular Expression Server Error? Pin
hifiger20043-Jun-08 21:23
hifiger20043-Jun-08 21:23 
AnswerRe: Regular Expression Server Error? Pin
Ashfield4-Jun-08 1:44
Ashfield4-Jun-08 1:44 
GeneralRe: Regular Expression Server Error? Pin
hifiger20044-Jun-08 2:34
hifiger20044-Jun-08 2:34 
Questionhow to update web application on client hosting server Pin
wasimsharp3-Jun-08 19:25
wasimsharp3-Jun-08 19:25 
AnswerRe: how to update web application on client hosting server Pin
Ashfield3-Jun-08 21:11
Ashfield3-Jun-08 21:11 
QuestionIIS Charset setting Pin
Yusuf3-Jun-08 5:02
Yusuf3-Jun-08 5:02 
QuestionReportViewer1.LocalReport.SubreportProcessing += new SubreportProcessingEventHandler(LoadSubReport) not firing. Pin
Jagadeeshs3-Jun-08 1:49
Jagadeeshs3-Jun-08 1:49 
AnswerRe: ReportViewer1.LocalReport.SubreportProcessing += new SubreportProcessingEventHandler(LoadSubReport) not firing. Pin
r aa j3-Jun-08 19:47
r aa j3-Jun-08 19:47 
GeneralRe: ReportViewer1.LocalReport.SubreportProcessing += new SubreportProcessingEventHandler(LoadSubReport) not firing. Pin
Jagadeeshs3-Jun-08 20:53
Jagadeeshs3-Jun-08 20:53 
Questionre: Goosh.org Pin
DarrollWalsh3-Jun-08 1:34
DarrollWalsh3-Jun-08 1:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.