I'm trying to create a pair of dynamic drop-down menus. I'm new to
Javascript, so I tried to find a simple example on the web. I found a
good example at http://javascript.about.com/library/.../aa072903a.htm
, and I tried to model my problem after that. My attempt can be viewed
at http://www.riverhill.org/english/rob...mic_menus.html
(I've removed all of the other html). It's supposed to display a list
of middle schools if the grade is 6-8 and a list of high schools if the
grade is 9-12, but that's not happening. I think the problem is that I
refer to the menus with the prefix document.forms. school_info , where
school_info is the name of a form tag. Even if this line is the
problem, I don't know what to change it to. Any help would be appreciated.
Thank you,
Alec Colvin 1 1617
Never mind. The code had mismatched curly braces.
- Alec Colvin
Colvin wrote: I'm trying to create a pair of dynamic drop-down menus. I'm new to Javascript, so I tried to find a simple example on the web. I found a good example at http://javascript.about.com/library/.../aa072903a.htm , and I tried to model my problem after that. My attempt can be viewed at http://www.riverhill.org/english/rob...mic_menus.html (I've removed all of the other html). It's supposed to display a list of middle schools if the grade is 6-8 and a list of high schools if the grade is 9-12, but that's not happening. I think the problem is that I refer to the menus with the prefix document.forms. school_info , where school_info is the name of a form tag. Even if this line is the problem, I don't know what to change it to. Any help would be appreciated.
Thank you, Alec Colvin This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Guinness Mann |
last post by:
When you guys talk about "dynamic SQL," to what exactly are you
referring? Is dynamic SQL anything that isn't a stored procedure?
Specifically, I use ASP.NET to communicate with my SQL Server 2000,
using an SqlConnection object to open the database and an SqlCommand
object to transfer my SQL text to the database.
Is this the "dynamic SQL" that is such a bad thing? What is my
alternative? Wait until after my program is working and...
|
by: NickName |
last post by:
/* goal: dynamic evaluation of table row
platform: sql 2000
*/
use northwind;
declare @tbl sysname
set @tbl = 'customers'
EXEC('select count(*) from ' +@tbl)
|
by: Yaro |
last post by:
Hello
Is it possible using dynamic SQL in UDF?
In Sybase below example work but in DB2 UDB 8.1.3 I get error:
"SQL0104N Unexpected element "EXECUTE IMMEDIATE" found....."
CREATE FUNCTION DropTable(p_TableName VARCHAR(30) )
RETURNS VARCHAR(50)
LANGUAGE SQL
BEGIN ATOMIC
|
by: MikeY |
last post by:
Hi Everyone,
I am working in C#, windows forms.My question is this. All my button dynamic
controls properties are present and accounted for except for the"FlatStyle"
properties. I can't seem to figure out, if there is a way of using
polymorphic way (if that is a word) of doing this particular property. A
sample of my code is as follows:
DynamicControls.ButtonControl(this,btnSearchByName, new Point(5, 75), new
Size(95, 20),...
|
by: jm |
last post by:
I am using (trying) dynamic properties to store a database connection.
However, I don't have a connection object on the form. I just do a
OdbcConnection in my code. So I can't use the VS IDE to set up my
Dynamic Properties. Can I still use Dynamic Properties? Or am I
required to set up objects on the form first and use the IDE to create
the appropriate settings and .xml file?
Thanks.
| |
by: serge |
last post by:
How can I run a single SP by asking multiple sales question either
by using the logical operator AND for all the questions; or using
the logical operator OR for all the questions. So it's always
either AND or OR but never mixed together.
We can use Northwind database for my question, it is very similar
to the structure of the problem on the database I am working on.
IF(SELECT OBJECT_ID('REPORT')) IS NOT NULL
DROP TABLE REPORT_SELECTION
|
by: WhiteRider |
last post by:
Hello, I am having some trouble with a guy that has a dynamic IP address. I noticed he is trying to brute-force my SSH account so I used IPtables to drop all incoming packets. The exact command was
iptables -I INPUT -s 84.74.xxx.xxx -j DROP
where x is the rest of his IP. This automatically blocked him. No more activity came from his IP, which is exactly what I want. However 5 minutes later he came back this time with a slightly different...
|
by: MaryamSh |
last post by:
Hi,
I am creating a Dynamic Search in my application.
I create a user control and in Page_load event I create a dynamic dropdownlist and 2 dynamic button (Add,Remove)
By pressing Add button ,another row will be created with the same control (I mean another dropdown and 2 button) and so on.
and by pressing Remove button the selecetd row will be removed.
I used viewstate to keep my value for postback,
I want by changing selectedvalue of...
|
by: MaryamSh |
last post by:
Create Dynamic Dropdownlist Controls and related event
--------------------------------------------------------------------------------
Hi,
I am creating a Dynamic Search in my application.
I create a user control and in Page_load event I create a dynamic dropdownlist and 2 dynamic button (Add,Remove)
By pressing Add button ,another row will be created with the same control (I mean another dropdown and 2 button) and so on.
and by...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |