?
Solved

Submit Button

Posted on 2001-07-18
8
Medium Priority
?
287 Views
Last Modified: 2013-12-24
I have a DTC button in my page. I would like that pressing Enter will be the same as clicking the button (similar to a Submit button). I don't know how to get that in Interdev.
Thank you
0
Comment
Question by:insight974
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
8 Comments
 
LVL 9

Accepted Solution

by:
msdixon earned 800 total points
ID: 6296095
make sure it's included within the form tags. below is a simple page:

<%@ Language=VBScript %>
<%
for each item in Request.Form
     Response.Write "<b>" & item &"</b> " & Request.Form(item) & "<br>"
next
%>
<SCRIPT id=DebugDirectives runat=server language=javascript>
// Set these to true to enable debugging or tracing
@set @debug=false
@set @trace=false
</SCRIPT>
<% ' VI 6.0 Scripting Object Model Enabled %>
<!--#include file="../_ScriptLibrary/pm.asp"-->
<% if StartPageProcessing() Then Response.End() %>
<FORM name=thisForm METHOD=post>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>
<form method=post>
<input type=text name=abc value=xyz>
<!--METADATA TYPE="DesignerControl" startspan
<OBJECT id=Button1 style="LEFT: 0px; TOP: 0px" classid="clsid:B6FC3A14-F837-11D0-9CC8-006008058731">
     <PARAM NAME="_ExtentX" VALUE="1773">
     <PARAM NAME="_ExtentY" VALUE="714">
     <PARAM NAME="id" VALUE="Button1">
     <PARAM NAME="Caption" VALUE="Button1">
     <PARAM NAME="Image" VALUE="">
     <PARAM NAME="AltText" VALUE="">
     <PARAM NAME="Visible" VALUE="-1">
     <PARAM NAME="Platform" VALUE="256">
     <PARAM NAME="LocalPath" VALUE="../"></OBJECT>
-->
<!--#INCLUDE FILE="../_ScriptLibrary/Button.ASP"-->
<SCRIPT LANGUAGE=JavaScript RUNAT=Server>
function _initButton1()
{
     Button1.value = 'Button1';
     Button1.setStyle(0);
}
function _Button1_ctor()
{
     CreateButton('Button1', _initButton1, null);
}
</script>
<% Button1.display %>

<!--METADATA TYPE="DesignerControl" endspan-->
</form>
<P>&nbsp;</P>

</BODY>
<% ' VI 6.0 Scripting Object Model Enabled %>
<% EndPageProcessing() %>
</FORM>
</HTML>
0
 

Author Comment

by:insight974
ID: 6705711
I'm sorry, but this doesn't work for me.
0
 

Author Comment

by:insight974
ID: 6705712
I'm sorry, but this doesn't work for me.
0
WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

 
LVL 9

Expert Comment

by:msdixon
ID: 6705748
hmm, if you copied the entire page, put it into a new page and saved it you shouldn't have any problems (assuming you have the script library installed).

what browser are you using?
0
 

Author Comment

by:insight974
ID: 6706017
I'm using Internet Explorer 6. How do I install that Script library? Thank you
0
 

Author Comment

by:insight974
ID: 6706026
Hold on, now I could do it. You're the best!!!!!!!!! And you deserve the points.
0
 
LVL 5

Expert Comment

by:Netminder
ID: 6778493
insight974,

These questions are still open, and our records show that you have logged in recently. Please resolve them appropriately as soon as possible. Continued disregard of your open questions will result in the force/acceptance of a comment as an answer; other actions affecting your account may also be taken. I will revisit these questions in approximately seven (7) days.

http://www.experts-exchange.com/jsp/qShow.jsp?qid=20152887
http://www.experts-exchange.com/jsp/qShow.jsp?qid=20162268
http://www.experts-exchange.com/jsp/qShow.jsp?qid=20250688
http://www.experts-exchange.com/jsp/qShow.jsp?qid=20259747
http://www.experts-exchange.com/jsp/qShow.jsp?qid=20259748

Thanks,

Netminder
Community Support Moderator
Experts Exchange
0
 
LVL 5

Expert Comment

by:Netminder
ID: 6821438
Force/accepted by

Netminder
Community Support Moderator
Experts Exchange
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
Suggested Courses
Course of the Month14 days, 9 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question