i created my texbox in a while loop. that means when the texbox is displayed with the questions that come from the database it has the same name. how do i differentiate this textbox from the others.
i know i have to assign some variable to it but how do i do it? there is also a button at the end of the page that check the values in each textbox with that of in the database. basically the page displays lessons where the questions are retrived from the database. and its a fill in lesson.
I need to find out how browsers identify themselves in WinXP in the UserAgent header. For example, I would use the following to identify the operating system is NT.if (Instr(UA, "winnt") > 0) or (Instr(UA, "windows nt") > 0) then strOpSys = "Windows NT"
i'm trying to set this polling script up so that i can have it pull a poll by it's id, but the user gets to pick which poll id they want to view. Now it's trying to get the poll id from a sql dbase.
I have several web sites running the same set of pages and all accessing the same common database tables. A field in all the records contains the web site address of the web site to which each record pertains, for example, this field in some records may contain www.upperbridge.co.uk.
When a web site page accesses a database table, it needs to select the records that contain its web site address. How do I identify which web site this page is in?, how does the page get hold of this web site address so it can use it to select the correct records in the common database tables?
I move from one form to another when I click to a radio button. I can identify which radio button I clicked by trapping its value. but my problem is that there are a set of radio buttons followed by values being displayed from a join table.
I want to know the values displayed from the table. so that based on which I can do my further processing. Like the radio button is showing the name of student, his id, story id...and 2-3 more things. when I select the first radio button (its value = 0 ),
how can I know that the selected one is for which student_id and for which story_id.??? Code:
I am still pretty new to .asp but I have a user db where I capture user log ins. When a user logs on session variables are created (e.g. User_ID, member_type) which I use to check user bona fides when they access user only pages.
Question: How can I determine when they leave the site or that they are still accessing the site?
I have had a trawl through ServerVariables but that only provides the info for my sesssion and nobody else.
I'm looking to distribute links to a site by mail, and then identify the users following those links. (ie. embedding user id in the url, and retrieving that data)
I think Dev sheds activate account feature does what I need, as does similar features of other sites, so I would think this is pretty standardized. Unfortunately, I can't figure out what I need to feed the search engines in order to elicit a tutorial....
I have a recordset that I loop through all of the data within a table, within the same loop, I am trying to add another loops that pulls information from the first recordset to base the second recordset off of: Code:
I am using a textbox with in a forloop, for each time when i click a button it genarates a new textbox, so for example for first time there will be 1 textbox, i will enter some value into that textbox and i click the button which adds another textbox and i enter someother value and i go on clicking for to add a new textbox and enters some value. after creating 5 textboxes i want to know the index of the textbox, basing on thet index i will find the value and do some calculations and some more. so i must compulsorily need index of the textbox. SO can any one help me. when i see in the view source i am seeing that 5 textboxes names are same.
I've got a textbox (within a form) which is blank. How can I program a button that will make a value appear in the textbox without refreshing the page??
i have 3 text box,in that one gets value from a picklist these three values have to be displayed down in table format and every time the page gets refreshed when a new product is selected using the picklist
what happens is when im in enter.asp and i typed in for example Michael Jordan it goes automatically to names.asp but what happens is when it goes to the textbox of names.asp it would only display the word Michael.
I'm modifying an existing ASP app. I'm quite used to ASP.NET but have never worked with classic ASP before. I'd like to know how could I set the value of a textbox to the selected text of a combo on client side ? It has to be done every time the page is loaded because the combo is hidden.
I know I'd be better using server-side, but I can't modify too much things on that side, and I donno how to set the value of a control on the server side.... I miss the good ol' 'runat="server"' from .NET
I have seen some techniques like this on the web. Currently, I'm using Combo box which values came from database table. One disadvantage is when the combo box have lots of values, users are complaining since you cannot use keyboard to search the value that is needed.
I was wondering how to make a text area that allows the input of html tags or custom tags for fomatting of text.
Actually almost exactly like the textbox we use to post to this forum. I would only need text formating like bold maybe colors of fonts alignment etc. I can't seem to find anything that teaches people how to do this.
i have a shopping cart type system where a user adds items to their cart, and as they are doing this, i have a textbox for the user to enter the quantity of the selected item they want!i want this textbox to be max. 3 characters in length (for asthetic purposes!!) but no matter waht width i make it, it is always displayed much bigger(longer) than i want! So how do i force this textbox to be no more than 3 characters in length?
I'm wondering if it's possible to search words from a huge text instead of one or two words. Example:
If the actual text says: Quote: I'm walking the dog tonight. The dog is hungry. Is it possible to search "walking" and "hungry" from one textbox or textarea?
I would like to know if this is possible. I'm using ASP with JSCRIPT. I have a dropdown box that when the use selects a particular value, I would like the textbox to become visible. also if they dont choose it, I would like the textbox to be hidden. I have this web input form with many other fields. This dropdown box is in the middle of these fields.I dont see any property to set. I see the disable property but I want it hidden.
I have a requirement like this.When the textbox gets focus..at this even i want to change the input langauge settings.like arabic. Currently i have to do it manually by pressing the Alt+Shift key..to toggle between twon langauages
I have a form that has a dropdown list. I would like to have a textbox be displayed after the user chooses "other". How can I do this? I would also like the field to go away when the user chances their mind. Is this possible?
I have some info stored on Access DB, when i pull it for updates I should print the data as fallow:
<input type="text" name="Field1" value="<%= RS ("Field1") %>" size="20"> All that well and good but the problem occur when "RS ("Field1")" contain a double quote!