Options? JavaScript Needed?

G

Guest

I wanted to see if plain old HTML/FrontPage 2003 would work for something
like this. I went to a website and looked at the source code and it just
appears to be HTML coding.

What I would like to do is have a web page that uses OPTIONS
feature/command. So if I select OPTION #2, then the next few boxes appear. If
I select OPTION #3, then a different set of boxes would appear. And when I
finally hit submit selected people receive an email, AND when the submit
button is hit a SPREADSHEET/GRAPH is populated.

Yes? No?

EXAMPLE
<hr color="#cecfce">
<p />
<font style="font-weight: bold;">2. Tell us about your problem (please be
as specific as possible so that we can help diagnose and resolve your problem
quickly)</font>
<br /><img src="http://eimg.net/img/x.gif" width="1" height="6"><br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15"> </td>
<td>
<table border="0" cellspacing="0" cellpadding="3">
<tr id="id_accountType">
<td align="right" width="217">Type of Account :</td>
<td width="4"> </td>
<td width="399" colspan="6">
<select name="accountType"
onChange="selectAccountType(this.options[this.selectedIndex].getAttribute('passed'))">
<option passed="Default" value="">Choose
<option passed="Default" value="">-----
<option passed="3" value="Cable">Cable
<option passed="1" value="Dial-up">Dial-up
<option passed="2" value="ADSL">DSL (Consumer ADSL)
<option passed="1" value="EarthLink Experience">EarthLink Experience
<option passed="6" value="Domain Hosting">Domain Hosting
<option passed="4" value="Satellite">Satellite
<option passed="5" value="Wireless/PDA">Wireless/PDA
</select>
</td>
</tr>
<tr id="id_issue1"> <!-- dialup -->
<td width="217" align="right">Issue Type:</td>
<td width="4"> </td>
<td width="399" colspan="6">
<select name="issue1"
onChange="selectIssue(this.options[this.selectedIndex].getAttribute('passed'))">
<option passed="Default" value="">Choose
<option passed="Default" value="">-----
<option passed="Other112" value="Other">I need to check/change my password.
<option passed="acctChange19" value="Account Change / Question">Account
Changes / Questions
<option passed="billingQues18" value="Billing Question">Billing Question
<option passed="email13" value="Email">Email
<option passed="connectionProblem12" value="Connection Problem">Internet
Connection Problems
<option passed="webspace16" value="Webspace">Free Personal Webspace
<option passed="swConfiguration14" value="Software Configuration">Software
Setup / Configuration
<option passed="browsingProblems11" value="Browsing Problems">Web Surfing
(Browsing) Problems
</select>
</td>
 
J

Jens Peter Karlsen[FP MVP]

As you can see in the code Javascript is used.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: BenJAMMIN [mailto:[email protected]]
Posted At: 27. oktober 2004 18:33
Posted To: microsoft.public.frontpage.client
Conversation: Options? JavaScript Needed?
Subject: Options? JavaScript Needed?


I wanted to see if plain old HTML/FrontPage 2003 would work
for something like this. I went to a website and looked at
the source code and it just appears to be HTML coding.

What I would like to do is have a web page that uses OPTIONS
feature/command. So if I select OPTION #2, then the next few
boxes appear. If I select OPTION #3, then a different set of
boxes would appear. And when I finally hit submit selected
people receive an email, AND when the submit button is hit a
SPREADSHEET/GRAPH is populated.

Yes? No?

EXAMPLE
<hr color="#cecfce">
<p />
<font style="font-weight: bold;">2. Tell us about your
problem (please be as specific as possible so that we can
help diagnose and resolve your problem quickly)</font> <br
/><img src="http://eimg.net/img/x.gif" width="1"
height="6"><br /> <table width="100%" border="0"
cellspacing="0" cellpadding="0"> <tr> <td width="15"> </td>
<td> <table border="0" cellspacing="0" cellpadding="3"> <tr
id="id_accountType"> <td align="right" width="217">Type of
Account :</td> <td width="4"> </td> <td width="399"
colspan="6"> <select name="accountType"
onChange="selectAccountType(this.options[this.selectedIndex].g
etAttribute('passed'))">
<option passed="Default" value="">Choose <option
passed="Default" value="">----- <option passed="3"
value="Cable">Cable <option passed="1"
value="Dial-up">Dial-up <option passed="2" value="ADSL">DSL
(Consumer ADSL) <option passed="1" value="EarthLink
Experience">EarthLink Experience <option passed="6"
value="Domain Hosting">Domain Hosting <option passed="4"
value="Satellite">Satellite <option passed="5"
value="Wireless/PDA">Wireless/PDA </select> </td> </tr> <tr
id="id_issue1"> <!-- dialup --> <td width="217"
align="right">Issue Type:</td> <td width="4"> </td> <td
width="399" colspan="6"> <select name="issue1"
onChange="selectIssue(this.options[this.selectedIndex].getAttr
ibute('passed'))">
<option passed="Default" value="">Choose <option
passed="Default" value="">----- <option passed="Other112"
value="Other">I need to check/change my password.
<option passed="acctChange19" value="Account Change /
Question">Account Changes / Questions <option
passed="billingQues18" value="Billing Question">Billing
Question <option passed="email13" value="Email">Email <option
passed="connectionProblem12" value="Connection
Problem">Internet Connection Problems <option
passed="webspace16" value="Webspace">Free Personal Webspace
<option passed="swConfiguration14" value="Software
Configuration">Software Setup / Configuration <option
passed="browsingProblems11" value="Browsing Problems">Web Surfing
(Browsing) Problems
</select>
</td>
 
G

Guest

A. I have read your other replies to other questions and being friendly is
not your speciality?
B. I do NOT see where JS is used in the code,
C. This DOES NOT answer the question: can this be done WITHOUT JS? Or do you
not know? Or is it that you do NOT read well?
D. Being an MVP does NOT require you to have a personality, other than being
a jerk?

Jens Peter Karlsen said:
As you can see in the code Javascript is used.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: BenJAMMIN [mailto:[email protected]]
Posted At: 27. oktober 2004 18:33
Posted To: microsoft.public.frontpage.client
Conversation: Options? JavaScript Needed?
Subject: Options? JavaScript Needed?


I wanted to see if plain old HTML/FrontPage 2003 would work
for something like this. I went to a website and looked at
the source code and it just appears to be HTML coding.

What I would like to do is have a web page that uses OPTIONS
feature/command. So if I select OPTION #2, then the next few
boxes appear. If I select OPTION #3, then a different set of
boxes would appear. And when I finally hit submit selected
people receive an email, AND when the submit button is hit a
SPREADSHEET/GRAPH is populated.

Yes? No?

EXAMPLE
<hr color="#cecfce">
<p />
<font style="font-weight: bold;">2. Tell us about your
problem (please be as specific as possible so that we can
help diagnose and resolve your problem quickly)</font> <br
/><img src="http://eimg.net/img/x.gif" width="1"
height="6"><br /> <table width="100%" border="0"
cellspacing="0" cellpadding="0"> <tr> <td width="15"> </td>
<td> <table border="0" cellspacing="0" cellpadding="3"> <tr
id="id_accountType"> <td align="right" width="217">Type of
Account :</td> <td width="4"> </td> <td width="399"
colspan="6"> <select name="accountType"
onChange="selectAccountType(this.options[this.selectedIndex].g
etAttribute('passed'))">
<option passed="Default" value="">Choose <option
passed="Default" value="">----- <option passed="3"
value="Cable">Cable <option passed="1"
value="Dial-up">Dial-up <option passed="2" value="ADSL">DSL
(Consumer ADSL) <option passed="1" value="EarthLink
Experience">EarthLink Experience <option passed="6"
value="Domain Hosting">Domain Hosting <option passed="4"
value="Satellite">Satellite <option passed="5"
value="Wireless/PDA">Wireless/PDA </select> </td> </tr> <tr
id="id_issue1"> <!-- dialup --> <td width="217"
align="right">Issue Type:</td> <td width="4"> </td> <td
width="399" colspan="6"> <select name="issue1"
onChange="selectIssue(this.options[this.selectedIndex].getAttr
ibute('passed'))">
<option passed="Default" value="">Choose <option
passed="Default" value="">----- <option passed="Other112"
value="Other">I need to check/change my password.
<option passed="acctChange19" value="Account Change /
Question">Account Changes / Questions <option
passed="billingQues18" value="Billing Question">Billing
Question <option passed="email13" value="Email">Email <option
passed="connectionProblem12" value="Connection
Problem">Internet Connection Problems <option
passed="webspace16" value="Webspace">Free Personal Webspace
<option passed="swConfiguration14" value="Software
Configuration">Software Setup / Configuration <option
passed="browsingProblems11" value="Browsing Problems">Web Surfing
(Browsing) Problems
</select>
</td>
 
K

Kevin Spencer

A. I have read your other replies to other questions and being friendly is
not your speciality?

Jens's reply was not UNfriendly. Your response was. People in glass
houses....
B. I do NOT see where JS is used in the code,

Jens made an assumption that you would recognize JavaScript when you saw
it. I assume he was wrong. Sometimes what seems obvious to us in the
profession is not to everyone else.
C. This DOES NOT answer the question: can this be done WITHOUT JS? Or do you
not know? Or is it that you do NOT read well?

Again, we could all do without the anger and sarcasm. You apparently didn't
like what you interpreted as lack of friendliness on Jens' part. Why then
would you want to practice it, since you maintain that it is wrong?

The answer to your question is that it cannot be done without JavaScript,
and it cannot be done without some server-side programming as well. Custom
server-side programming.

When you view the source code of an HTML document, regardless of whether it
is a "pure" HTML document, or one generated by a server-side process, such
as ASP, you will not see anything but HTML. JavaScript is part of the HTML.
However, an HTML form must be submitted to a server-side form handler, such
as ASP. That is where the "meat" of this lies, and you can't see it. It is
protected code on the server.

As you can't recognize JavaScript in an HTML document, I would recommend
that you do one of 3 things:

1. Set your sites a bit lower, and use the built-in server components that
come with FrontPage, and work within their limitations.
2. Hire a Programmer to develop your app.
3. Become a Programmer, and develop your app.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

BenJAMMIN said:
A. I have read your other replies to other questions and being friendly is
not your speciality?
B. I do NOT see where JS is used in the code,
C. This DOES NOT answer the question: can this be done WITHOUT JS? Or do you
not know? Or is it that you do NOT read well?
D. Being an MVP does NOT require you to have a personality, other than being
a jerk?

Jens Peter Karlsen said:
As you can see in the code Javascript is used.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: BenJAMMIN [mailto:[email protected]]
Posted At: 27. oktober 2004 18:33
Posted To: microsoft.public.frontpage.client
Conversation: Options? JavaScript Needed?
Subject: Options? JavaScript Needed?


I wanted to see if plain old HTML/FrontPage 2003 would work
for something like this. I went to a website and looked at
the source code and it just appears to be HTML coding.

What I would like to do is have a web page that uses OPTIONS
feature/command. So if I select OPTION #2, then the next few
boxes appear. If I select OPTION #3, then a different set of
boxes would appear. And when I finally hit submit selected
people receive an email, AND when the submit button is hit a
SPREADSHEET/GRAPH is populated.

Yes? No?

EXAMPLE
<hr color="#cecfce">
<p />
<font style="font-weight: bold;">2. Tell us about your
problem (please be as specific as possible so that we can
help diagnose and resolve your problem quickly)</font> <br
/><img src="http://eimg.net/img/x.gif" width="1"
height="6"><br /> <table width="100%" border="0"
cellspacing="0" cellpadding="0"> <tr> <td width="15"> </td>
<td> <table border="0" cellspacing="0" cellpadding="3"> <tr
id="id_accountType"> <td align="right" width="217">Type of
Account :</td> <td width="4"> </td> <td width="399"
colspan="6"> <select name="accountType"
onChange="selectAccountType(this.options[this.selectedIndex].g
etAttribute('passed'))">
<option passed="Default" value="">Choose <option
passed="Default" value="">----- <option passed="3"
value="Cable">Cable <option passed="1"
value="Dial-up">Dial-up <option passed="2" value="ADSL">DSL
(Consumer ADSL) <option passed="1" value="EarthLink
Experience">EarthLink Experience <option passed="6"
value="Domain Hosting">Domain Hosting <option passed="4"
value="Satellite">Satellite <option passed="5"
value="Wireless/PDA">Wireless/PDA </select> </td> </tr> <tr
id="id_issue1"> <!-- dialup --> <td width="217"
align="right">Issue Type:</td> <td width="4"> </td> <td
width="399" colspan="6"> <select name="issue1"
onChange="selectIssue(this.options[this.selectedIndex].getAttr
ibute('passed'))">
<option passed="Default" value="">Choose <option
passed="Default" value="">----- <option passed="Other112"
value="Other">I need to check/change my password.
<option passed="acctChange19" value="Account Change /
Question">Account Changes / Questions <option
passed="billingQues18" value="Billing Question">Billing
Question <option passed="email13" value="Email">Email <option
passed="connectionProblem12" value="Connection
Problem">Internet Connection Problems <option
passed="webspace16" value="Webspace">Free Personal Webspace
<option passed="swConfiguration14" value="Software
Configuration">Software Setup / Configuration <option
passed="browsingProblems11" value="Browsing Problems">Web Surfing
(Browsing) Problems
</select>
</td>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top