Select Jump Menu With No Javascripts
Can I create a select jump menu with using javascript to enable users with scripting turned on to use a page?
View RepliesCan I create a select jump menu with using javascript to enable users with scripting turned on to use a page?
View Replieshow would I go about setting the <selected> attribute of a jump menu to one representing the current page? background info: i have a template-based site employing a jump menu as the navigation, but for usability's sake it needs to not reset back to the first option in the menu, but rather hang on to the current page as the 'selected' option. example of similar HTML showing the hard-coded 'selected' option I need to change: Code:
<form name="form">
<select name="menu1" onChange="MM_jumpMenu('parent',this,0)">
<option value="page1.asp" selected>page1</option>
<option value="page2.asp">page2</option>
</select>
<input type="button" name="Button1" value="Go" onClick="MM_jumpMenuGo('menu1','parent',0)">
</form>
I put jump menu with a dynamic value of username field in my ASP JS... i want to display the field information every time i click or select the certain username.
View Replies View RelatedI've writen the code below which displays a drop down select menu and can be displayed by writing the variable 'sjobs'. The code works fine as it is and the menu is populated with the requested info from the database ok. The problem I'm having is adding url links to the menu values. Code:
View Replies View RelatedIs there a way to have a drop down menu where u can select an option from the menu or type in ur own??? I am using ASP and SQL
View Replies View RelatedI am trying to find out how to select an item from a drop down menu after a query is executed. My drop down has 4 options, and what I am trying to do is if the record stored in the database is "option2" I need the drop down menu to have option2 is selected.
View Replies View RelatedI use a multi-select menu in an ASP so the user can pick several values.
<select multiple name="lbErrorType" size="12">
However, after I have saved the records to the DB, and the user comes back
to edit a prior record, I re-populate the multiple select box and do a
"<option selected>" for each record that is saved to the DB.
<option selected>
But only the last value is selected !?!?
How do I get the select menu to select ALL the appropriate values ?
What would be the easiest way (JavaScript?) to have the attached form redirect a user to a sample business card on select from the drop down menu and response.write to the new file, carrying over the info the user inputs into the form? I want to change the response.write to the sample1.asp, sample2.asp etc.
View Replies View Relatedi have a code that need use a session variable to check a radio button, but when i try to use a javascript function in the onclick=... the ASP code doesn`t work. what can i do?
<input type="radio" name="rdn_name" <%if session ("cotiz1_verif_iva") = "s" then%> checked <%end if%> onclick="document.forms[0].input_text.value=Function_XYZ(this);" value="s" >
when i use the ASP part work good and the javascript alone works good too, but when they`re together the function works but no the if`s in ASP
I'm building a page to update an existing database entry. On the form to do so, I have a basic select option menu as such:
<select size="1" name="ColR" style="width: 115px">
<option value="FFFFFF">White</option>
<option value="000000">Black</option>
<option value="FF0000">Red</option>
<option value="FF9900">Orange</option>
<option value="FFFF00">Yellow</option>
<option value="008000">Green</option>
<option value="0000FF">Blue</option>
<option value="4B0082">Indigo</option>
<option value="9400D3">Violet</option>
</select>
I'd like to have the option that matches the current value in the database field display as the selected option. I know it's easy enough to manually force one option or another to be selected, but how could I change which one it is based on the database contents?
I have done asp and want to start with asp.net can u plz suggest some good book from beginner's point of view . also can u suggest some online resources
View Replies View RelatedI have in an order 3 tables with three different orders in them. If the customer wishes to purchase a forth item then they would click on the add new item. Problem:
When the customer click on the add new item button it then adds the new order form for the forth item. The problem is that it reloads the page at the top meaning that you have to scroll down to the new order form.
I have tried the Auto Page Jump technique like so:
PageRedirect "folder/pagename.asp?page=showAll#order4"
Order4 being the new order form in the page.
All forms have the anchor tags and are named correctly but this still doesnt work.
I have an asp page, where under special circumstances, I want the page to scroll down a bit. I know how to set up the conditions, but how do I get the page to scroll down to an anchor further down when the it loads?
View Replies View RelatedIn VB there is the Goto Statement. In ASP, what would be the equivalent of that? My code looks something like this
For x = 0 to Counter - 1
' Checking for duplicate values
For
Checking for duplicate errors
If duplicate jump to NextVal
Next
' Meat of Code
I only what this to happen if there is not a duplicate
NextVal:
Next
how can i jump directly to another page ? let me explain better...i've got this form...the user fullfills the form and presses send...the form calls and asp file...after executing that file i want to be able to send the user to a specific web page, but i don't want him to press any link...just go there directly...how can i do it ?
View Replies View RelatedLet's say I have a form like this:
<form action="handler.asp"> ... </form>
Within handler.asp, I output a number of named anchors:
<a name="important1">Important 1</a> ...
<a name="important2">Important 2</a> ...
<a name="important3">Important 3</a> ...
In my form processing code, I want the returned page to jump to one of these anchors depending on the result of the processing.
How can I do this?I don't want to use a redirection because then I would have to
re-process the same page.
I have four pull-down menus and a GO button. Each menu contribute a parameter to an URL query string (like asp?a=1&b=2&c=3&d=4) where variable a is return from menu1, b returns from menu2 etc.
I created the four menus using Dreamweaver's INSERT JUMP MENU function and I find it difficult to modify its auto-generated javascript code to suit my needs. Does anyone has the complete code to accomplish this?
does frame support pop out menu? Thanks....
View Replies View RelatedCan any one help with code for form menu in which sub menu appear on selecting the main menu. This is one field of an access database to be submitted by user.. Now I have code only for selecting from main menu. Code:
View Replies View RelatedI have written some code which should dynamically build a table which is then populated with questionas and possible answers. The format of the answers will vary ie they may be in the form of a radio button which will be rated from 1-5, checkbox or a selectbox.
The first problem I have is if I do not comment out <select></select> I get an error message saying the page can not be found. when I do take it out I get asp timeout. Code:
i have menus and sub menus written in java script in an asp page.at times teh sub menu bars overlap with the text fields of some of the pages.I want to set some option on the menu bars so that if they overlap with the text feilds of the page still they remain on the top and r visible over the text feild.
View Replies View RelatedI am trying to create a Menu, like the one on this page, that looks like this:
Viewing: ASP Free Forums > Programming > ASP Development
But have no idea what it is called and how to do one. Can anyone please point me in the right direction.
I want to create with asp a "menu" that will have a dynamicall drop down menu. Is there any ready drop down or a tutorial for this?
View Replies View RelatedI have been searching for tutorials everywhere on how I could make a menu that is multi levels but that can be updated dynamically through asp...so basically when I add a link in the database it will update the menu...now I know how to pretty much pull links from the database for a basic menu...but lets say there is a link called about us and under about us there is more options to choose from.
How would i code this so the menu would know which ones were parents and which ones where childs? And does anyone know of a good tutorial, or of an example. and basically I want this because I would like to create a content manager...but I don't understand how the menu would work when pulling data from a database.
I am using asp and access database. I need to create a menu according each member access. In other words, if member login I need to display the menu according to the services the member selected during registration. Each service contains diff type of products.
Service1
-produc1
-product2
Service2
-produc1
-product2
-product3
..more
Service3
-produc1
-product2
..more
What is the best way to this...
I need to create a page which updates a products information within a record.
the tables are,
products (ID,CatID,sID)
supplier (sID,sName),
category (CatID, CatName)
The above tables supplier and category have relationships to products by using the sID and CatID
I need to update the product details by having a select/option for a supplier and category but if not changed by the user the value already within products table stays the same, therefore the list must be dynamic so that the first item in the list is the one relating to the value in the products table. Also the value must be the ID numbers but must display the names not the ID's to the users within the select/option.
I am trying to create a menu with multiple tiers. I want to use the one menu as an include file throughout the site. Depending on what page you are on, I want the 2nd and third tiers to show up.
The rest just show the tier 1 links. I'm pretty sure this can be done in CSS, but the problem is that with a very big menu, I'd rather not have to load up the entire menu when it all won't be showing.
There for I figured I could create it in ASP. I could set some sort of parameter in the page so the menu include file would know what page I'm on, and then would only show and load the 2nd and 3rd tiers of that section. Is this possible? Code:
is it possible to have an asp menu tree? or possible to swap an inc though a link click
View Replies View RelatedI've got three drop down menus which allows the user to select a date on a html form. The day drop down menu has the values 1-31, the month menu has values 1-12 etc etc. However i would like when the page is loaded for the current date to be present as the intially selected value in the menu. How can i apply the selected attribute of the current date.
View Replies View RelatedMy last (maybe) problem is to make a nested menu (I think is possible only with Java) and I must take the names of the selections from a DB ...
is possible? I can't find documents where is explained how to use MDB files with Java
I need to make a simple navigation menu where I click on a link(href) and either expand or collapse a menu. Based on what I click, my menu changes. I think I know how to do most of this, byt my question is, how do I pass the value of the link I clicked ?
View Replies View Relatedhow to get collopsible menu to be used with ASP pages??
View Replies View Relatedif you guys have managed to do a asp-function that prints out
a full menu using SOThink menu builder.
the example http://www.sothink.com/product/dhtm...aspdb/aspdb.php
is very unclear to me atm.....
things as stm_bp("p0",[0,4,0,0,3,1,0,0,100,"",-2...... ) and
stm_bpx("p1","p0",[1,4,0,-1,.....)
now how to know what numbers shall be printed out?I would be thankful if anyone showed a proper parent-child database example
that works.