Click here to Skip to main content
15,895,084 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: More confused Pin
Yulianto.31-Mar-05 15:36
Yulianto.31-Mar-05 15:36 
GeneralSecurity Application Block Pin
Ramya Kappini27-Mar-05 21:20
Ramya Kappini27-Mar-05 21:20 
Generaljavabean: cannot find symbol Pin
Anonymous26-Mar-05 21:36
Anonymous26-Mar-05 21:36 
QuestionHow Can I Send Free E-Mail Using CDONTS Pin
Member 183249126-Mar-05 21:22
Member 183249126-Mar-05 21:22 
AnswerRe: How Can I Send Free E-Mail Using CDONTS Pin
Yulianto.27-Mar-05 14:37
Yulianto.27-Mar-05 14:37 
QuestionWhat would be the best solution Pin
j45mw26-Mar-05 4:08
j45mw26-Mar-05 4:08 
GeneralSpeech application problems on the south of France Pin
Member 167953425-Mar-05 21:03
Member 167953425-Mar-05 21:03 
Generalinclude files and event handling Pin
gagirl_4325-Mar-05 9:06
gagirl_4325-Mar-05 9:06 
I have an asp page with various subroutines that I use as an include file. I'm trying to get my onchange event for an input text field to work from this page. This is strictly asp code (<% %> ) not vbscript ( ) because I need to access the database. I haven't been able to get that to work under vbscript. But I also can't get the event to run from the asp page. This is very aggravating. Any help would be greatly appreciated.

I have the include file at the top of the page.


This is the subroutine I want to run.
<%
sub EmailChgd()
dim rsEmp, strSQL

set rsEmp = server.CreateObject("ADODB.Recordset")
strSQL = "SELECT * FROM Users WHERE Email='" & Request.Form("Email") & "' AND Active = true"
rsEmp.Open strSQL,AdjLinkConn,2,2

if rsEmp.EOF then
errmsg = "This user does not exist in the database."
else
if Request.Form("mgrid") = rsEmp("EmployeeId") then
errmsg = "You cannot modify your own record."
else
Session("Email") = Email
end if
end if

rsEmp.Close
set rsEmp = nothing
end sub
%>
This is my input statement.
 Email: I am a newbie in ASP, but I thought this should work.



Rhonda
GeneralRe: include files and event handling Pin
Roger Wright26-Mar-05 4:14
professionalRoger Wright26-Mar-05 4:14 
GeneralRe: include files and event handling Pin
gagirl_4328-Mar-05 3:43
gagirl_4328-Mar-05 3:43 
GeneralRe: include files and event handling Pin
Jesse Evans23-Mar-06 9:27
Jesse Evans23-Mar-06 9:27 
GeneralRe: include files and event handling Pin
gagirl_4323-Mar-06 13:55
gagirl_4323-Mar-06 13:55 
GeneralRe: include files and event handling Pin
Jesse Evans24-Mar-06 6:03
Jesse Evans24-Mar-06 6:03 
Questionhow to send and receive sms from internet Pin
govindnaroji25-Mar-05 7:23
govindnaroji25-Mar-05 7:23 
Questionasp:button image? Pin
bizjosh25-Mar-05 0:19
bizjosh25-Mar-05 0:19 
General[ASP.net / C#] Checkbox Checked Always false Pin
Jaymz66624-Mar-05 23:57
Jaymz66624-Mar-05 23:57 
GeneralRe: [ASP.net / C#] Checkbox Checked Always false Pin
Jeff Martin28-Mar-05 7:38
Jeff Martin28-Mar-05 7:38 
GeneralRe: [ASP.net / C#] Checkbox Checked Always false Pin
Jaymz66628-Mar-05 21:41
Jaymz66628-Mar-05 21:41 
GeneralRe: [ASP.net / C#] Checkbox Checked Always false Pin
Jeff Martin29-Mar-05 3:13
Jeff Martin29-Mar-05 3:13 
GeneralJavascript for adding html Pin
shaiba24-Mar-05 19:12
shaiba24-Mar-05 19:12 
GeneralRe: Javascript for adding html Pin
Yulianto.27-Mar-05 15:37
Yulianto.27-Mar-05 15:37 
GeneralRe: Javascript for adding html Pin
Anonymous27-Mar-05 17:33
Anonymous27-Mar-05 17:33 
GeneralRe: Javascript for adding html Pin
Yulianto.27-Mar-05 17:47
Yulianto.27-Mar-05 17:47 
GeneralASP.NET VB on DWMX for User Registration page Pin
bizjosh24-Mar-05 17:36
bizjosh24-Mar-05 17:36 
GeneralCSocket &amp; critical sections under IIS 6 Pin
Sorin24-Mar-05 15:48
Sorin24-Mar-05 15:48 

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.