If anyones interested:
If you merge the above code together and remove the variables,
then you'll see that the answer to this was even simpler than I thought...
The code I had was:
function SendInfo()
{
window.document.Formname.
options[window.document.Formname.SelectBoxname...
I have a select list, one Textarea, and multiple hidden text boxes.
The user will choose an option from the select list, which will determine which hidden text box will update with any text then input into the Textarea.
Clear as mud?
I can update a text box with the contents of another text box...
function SendInfo()
{
window.document.Formname.Textname2.value=window.document.Formname.Textname1.value
}
Here's the tricky bit:
I want it to choose which text box to update based on a selection box.
I have the following...
Spot on, thank you all!
If you're still curious mlowe9, I can now use this information to search against an SQL server table we have, to find out if the user is authorised to make changes on our databases before executing an SQL update query.
Sorry, I guess I should have been more clear.
I have no idea where to find any of my IIS settings / applications / whatever-else-it-has
Can somebody please tell me where to find them, starting from the desktop, maybe dumbing it all down a little?
Make what opinions you like, but I was guided...
Sounds like you two have got it sorted, but I'm afraid you'll have to humour me a little more. I know very little about this IIS lark other than I need it to host ASP pages. (go on, roll your eyes, it's ok)
Can someone tell me WHERE the settings are, I can't find anonymous access, nevermind...
Point taken mlowe9, but I have seen various methods of passing this information to an ASP (like the USERNAME environment variable) I just can't get them to work.
Lothario,
I have an ASP page on my PC that other users on my network can run from links I have provided. I would like the page to...
Authenticating how? If you mean logging in, then I was trying to avoid that.
These pages are a reference, and will be opened / closed regularly.
Kris, I'm trying to find the windows username of the person accessing the page.
How can I make ASP show the Logon of the Current User?
My ASP runs SQL code on our server OK, and is located on my machine. This page can be accessed from other machines, but will always run from mine.
I need to be able to run the code based on the Username of the person using my ASP page...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.