Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
if i include jquery sessionout in my classic asp page font not working


What I have tried:

<!--#include file="Connstring.asp"-->
<!--#include file="ConnectionStatus.asp"-->
<!--#include file="replace.asp"-->


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<?xml version="1.0" encoding="utf-8"?>
<META http-equiv=content-type content="text/html; charset=utf-8">
<META content="index, follow" name=robots>
<META 
content=tamil,tscii,unicode,converter,tamilunicode,unicodetamil,tamil,tamilblog,unicodetamilfont,tools,utilities,thamizh,tamiz,tamilsoftware,font,software,web,net,convert,english,online,phonetic,typing 
name=keywords>
<META content="EngToTam" 
name=description><LINK href="/favicon.ico" type=image/x-icon 
rel="shortcut icon">
<SCRIPT language=JavaScript  src="../utilities/common.js"></SCRIPT>
<SCRIPT language=JavaScript  src="../utilities/TamilLang.js"></SCRIPT>

<script language="javascript" src="../Script/common.js"></script>
<script language="javascript" src="../AjaxScript/AjaxScript_BankDetails.js"></script>
<script language="javascript" src="../Script/Templebank.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>Bank</title>
</head><link href="../Style/TempleCSS.css" type="text/css" rel="stylesheet" />

<body onLoad="document.getElementById('BankName').focus()">
<form method="post" action="Temple_BankInsert.asp" onKeyDown="return checkTab(event)" onKeyPress="RestrictEnterKeyOnSubmit();">
<input type="hidden" name="PassingID" id="PassingID" value="<%=Request.QueryString("BankID")%>" />
<%
	dim AutoID
	'TO select Random of date value to give a Reference code
	Dim Random
		randomize 
		Random	= rnd()
		Random1 =cstr(Random)
		Random1 =mid(Random1,3,6)
	
		
	Dim Hourstr
	Hourstr  = hour(now)
		IF len(Hourstr) =1 Then
			Hourstr = "0" & Hourstr
		End IF
			
	Dim Mintstr
	Mintstr  = minute(now)
		IF len(Mintstr) =1 Then
			Mintstr = "0" & Mintstr
		End IF
		
	Dim Secondstr
	Secondstr  = second(now)
		IF len(Secondstr) =1 Then
			Secondstr = "0" & Secondstr
		End IF
		
	Dim Datestr
	Datestr  = day(now)
		IF len(Datestr) =1 Then
			Datestr = "0" & Datestr
		End IF
		
	Dim Monthstr
	Monthstr  = month(now)
		IF len(Monthstr) =1 Then
			Monthstr = "0" & Monthstr
		End IF
		
	Yearstr=year(now)
	
	Reference_Code=Hourstr & Mintstr & Secondstr & Datestr & Monthstr & Yearstr & Random1
	
%>

<%
	
	If Request.QueryString("BankID") <> "" Then
	CloseConnection()
	cn.open
	set BankDetailEdit = server.CreateObject("Adodb.recordset")
	BankDetailEdit.open "select * from ledgerhead_Bank where id="& Request.QueryString("BankID"),cn
	do while not BankDetailEdit.Eof
	
	BankId				=		BankDetailEdit("id")
	Bank_Name			=		BankDetailEdit("BankName")
	Bank_Description	=		ReplaceStrBack(BankDetailEdit("BankDescription"))
	Bank_Checkbox		=		BankDetailEdit("ActiveMode")
%>

<%
	BankDetailEdit.movenext
	loop
	BankDetailEdit.close
	set BankDetailEdit = nothing
	'cn.close
	End If
%>
<table align="center" border="1" cellpadding="0" cellspacing="0" width="45%" id="BankDetailsMain">
<tr>
<th align="center" colspan="2">வங்கியின் விவரம்</th>
</tr>

<tr><td colspan="2"</td></tr>

<tr>
<td>வங்கியின் பெயர்</td>
<td>
<table cellpadding="0" border="0" width="100%" cellspacing="0"><tr><td width="67%">
<input type="text" name="BankName" id="BankName" maxlength="150"   class="converters" onKeyPress="javascript:convertThis(event);" onKeyUp="" onKeyDown="toggleKBMode(event)" size="28" /></td><td width="33%"><div id="DuplicateName" style="width:50px;"></div></td></tr></table></td>
</tr>

<tr>
<td>குறிப்பு</td>
<td><textarea name="BankDescription" id="BankDescription" class="converters" onKeyPress="javascript:convertThis(event);" onKeyUp="" onKeyDown="toggleKBMode(event)" style="width:200px;height:50px;"><%=Bank_Description%></textarea></td>
</tr>

<tr>
<td>உபயோகம்</td>
<td><input type="checkbox" name="Used" id="Used" />
<input type="hidden" name="HiddenCheckboxVal" id="HiddenCheckboxVal" />
</td>
</tr>

<tr><td colspan="2"</td></tr>

<tr>
<td colspan="2" align="center">
<% If Request.QueryString("BankID") <> "" Then %>
<input type="button" class="BtnStyle" name="Edit" id="Edit" value="Edit" onClick="return EmptyCheck()" />
<% Else %>
<input type="button" class="BtnStyle" name="Save" id="Save" value="Save" onClick="return EmptyCheck()" />
<% End If %>
</td>
</tr>

<input type="hidden" name="ReferenceCode" id="ReferenceCode" value="<%=Reference_Code%>" />

</table>


<table align="center" border="1" cellpadding="0" cellspacing="0" width="45%" id="BankDetailsReport" style="display:none;">
<tr>
<th align="center" colspan="2">வங்கியின் விவரம்</th>
</tr>

<tr><td colspan="2"</td></tr>

<tr>
<td width="45%">வங்கியின் பெயர்</td>
<td width="55%" id="BName"></td>
</tr>

<tr>
<td>குறிப்பு</td>
<td id="BDesc"></td>
</tr>

<tr>
<td>உபயோகம்</td>
<td id="AMode"></td>
</tr>

<tr><td colspan="2"</td></tr>

<tr>
<td colspan="2" align="center">
<% If Request.QueryString("BankID") <> "" Then %>
<input type="submit" name="Update" id="Update" value="Update"/>
<% Else %>
<input type="submit" name="Insert" id="Insert" value="Insert"  />
<% End If %>
<input type="button" class="BtnStyle" name="Back" id="Back" value="Back" onClick="GoBack()" />
</td>
</tr>
</table>

<% If Request.QueryString("BankID") <> "" Then %>

<script language="javascript">
document.getElementById('BankName').value = '<%=Bank_Name%>'
if('<%=Bank_Checkbox%>' == 1)
{
document.getElementById('Used').checked = true
}
else
{
document.getElementById('Used').checked = false
}
</script>

<% End If %>
<input type="hidden" name="HiddenBankName" id="HiddenBankName" value="<%=Bank_Name%>" />
</form>
</body>
</html>
<!--#include file="Temple_LanguageChange.asp"-->
Posted
Comments
ZurdoDev 18-Jul-18 7:04am    
You need to be more clear as to what is happening. Also use your browser's developer tools to look for errors.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900