Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Could someone please tell me what I did wrong here?

Status
Not open for further replies.

annebooth

Technical User
Aug 25, 2003
15
US
Hi! I am creating a web page (my first "real" one), and I have totally confused myself. I am creating a page sort of like the one found at:


My problem is that when I made the drop-down menus, I can't find an option that will let me link to the folder I want it to, and how to submit it so the information will show up in a different frame. I thought I had it right, but when I previewed it, I received a script error saying:

Line: 789
Char: 4
Error: Invalid argument.
Code: 0

So, I checked the syntax and it gave me 2 errors. The first error was <select> cschng. Here is the first one:

<select name=&quot;selectName&quot; size=&quot;1&quot; onchange=&quot;CSAction(new Array(/*CMP*/'ACDFB3F2'));&quot; cschng=&quot;ACDFB3F2&quot;>
<option value=&quot;1/1/105.txt&quot;>first</option>
<option value=&quot;two&quot;>second</option>
<option value=&quot;three&quot;>third</option>
</select>


and the second one was <input> csclick and it was for:


<input onclick=&quot;CSAction(new Array(/*CMP*/'ACA956F1'));&quot; type=&quot;button&quot; name=&quot;submitButton&quot; value=&quot;Submit&quot; border=&quot;0&quot; csclick=&quot;ACA956F1&quot;>

Can you tell what I am doing wrong from the information I have given?

If anyone could please help I would be very grateful, as I am pulling my hair out trying to figure it out!

Thanks a bunch!
Anne
 
Please explain what you are trying to accomplish with:

<select name=&quot;selectName&quot; size=&quot;1&quot; onchange=&quot;CSAction(new Array(/*CMP*/'ACDFB3F2'));&quot; cschng=&quot;ACDFB3F2&quot;>

The cscchng=&quot;ACDFB3F2&quot; looks out of place.
Maybe you meant to perform both actions with the
onChange but you closed your quotes????

Same with the other area, looks like your inferring
a value outside of permitted param's????

If you need the event to trigger both actions they
have to be enclosed?
onclick=&quot;Question.value='';Answer.value=''&quot;

2b||!2b
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top