954,174 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Why?

i have this problem some couple of days back...and honestly im just new to ASP so to some maybe my problem is not that big...here it is:

im practicing making a web site using ASP and i have on my html two buttons, and inline with that i also used tags for the two buttons. now my question is...why is it that the two buttons are one button apart from each other. what i want is to put them closer...what will i do?

another...can anybody here give me an example how to use javascript in buttons, vbscript will do. thanks a lot guys.


by the way, the two buttons results will have to be displayed in the same form and has to be inside a table...please help me. thanks again.

vhinehds
Light Poster
29 posts since May 2005
Reputation Points: 11
Solved Threads: 0
 

Can you post some code? :?:

afgmail
Newbie Poster
18 posts since Aug 2004
Reputation Points: 10
Solved Threads: 0
 
Can you post some code? :?:

yeah...sure, here's the code:










vhinehds
Light Poster
29 posts since May 2005
Reputation Points: 11
Solved Threads: 0
 

It would be better to use just one form and use drop-down list or radio to identify data. Fopr example:

<form action="" method="post">
<type="radio" value="Boys School" name="action">
<type="radio" value="Girls Schools" name="action">
<type="radio" value="num_teacher" name="action">
<type="submit" value="Submit">
</form>
<%
if len(Request("action"))>0 then
  QueryAction = Request("action")
  if QueryAction = "Boys School" then
    ' do something
  end if
  ' continue with the remaining
  if...
end if
%>
zippee
Posting Whiz in Training
294 posts since Jan 2005
Reputation Points: 10
Solved Threads: 7
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You