Hide Part Of Page

I have created a drop down box that picks items (active product lines) from my dbase (sql), once the user selects an item from the drop down, I would like asp to relate that choice to the next table and pop up another drop down box (active products from the above product line chosen).

I'm assuming that there needs to be some function to hide the second drop down box until the first choice is made (I could be wrong here??) so I don't know what the code would be for the page to stop showing anymore information until a choice is made. I usually show code here but this is really a question about code that I don't know.

View Replies


ADVERTISEMENT

Show/Hide Part Of A Page

I'm working on an asp page where I need to be able to click on a link and then show or hide a section of the page. Kind of like folding markers. I can do it by simply refreshing the page but I'd prefer for it to just open and close. Is there a way to do this?

View Replies View Related

Reload Part Of A Page.

is it possible to reload just one table row with out reloading the entire page? Or reloading just a table? i'm not thinking it's possible but if it is it's worth asking a qustion.

View Replies View Related

How To Use Login Name To Be Part Of Another Page?

I have a login page where i validate my user id and password... this part is done... I need to get the user id to the next page i am showing...

Example like:
-------------------------------
Login Page
userid : abc
pwd : XXXXX

Authentication Successful
---------------------------------
Next Page:

Welcome abc ---> i want it here
----------------------------------

Anyone can show me how shld i do it...

View Replies View Related

Don't Show The Page As A Part Of URL.

The web page has page1.asp, page2.asp, page3.asp, etc... However, When we type http://www.myserver.com, and go to different pages, the URL will be unchanged. How to do that? Usually, it will be http://www.myserver.com/page1.asp, http://www.myserver.com/page2.asp, etc..., with the actual page.

View Replies View Related

Use Login Name To Be Part Of Another Page

i did not see from that view point of yours. anyway, i guess everyone reading this thread learned something about sessions & querystrings.

View Replies View Related

How To Hide Parts Of An ASP Page?

I spend more time with other technologies. Could someone please help me with how to hide sections of content on an ASP page? Please keep it simple. I prefer code examples or at the very least point me to a place on the web that can.

View Replies View Related

Update Only A Specifc Part Of A Page

i want to update a specific part of a page every 3 seconds without refreshing the whole page, any ideas?

View Replies View Related

How To Hide VBScript Code In ASP Page?

How can I hide VB Script code in the ASP Page? Even though the display.asp includes the script_functions.asp, when I click on View Source from IE, I can still the VB Script code? What can I do to hide the code from the people who use display.asp?

View Replies View Related

How To Ensure Signature Part Is Lock Together In 1 Page?

I have signature part in my page (which include signature,name and date). This signature part should be lock together. Let say if the information in the page is about 2 pages, automatically the signature part will be in the 2nd page.

But the problem is, the signature on the 1st page while the name and date on the 2nd page. Is there a way to move the signature to the 2nd page? I've tried make it as a footer and include in the end of the page but doesn't work. Any idea?

View Replies View Related

Copy Part Of HTML Table To Another HTML Page

I have a table having 3 columns. There is a checkbox for each line. I
need to get those lines whose checkboxes are checked, and show those
lines to another webpage. Is there any way to do that? My concern is
that all information in the table are in <tb></tb> pairs without any
name tag. Any idea?

View Replies View Related

WHERE Part Of SQL

strSQL = "SELECT user_name, password FROM [tblLogin] WHERE user_name = '" & Request.Form("user_name") & "' AND password = '" & Request.Form("password") & "';"

Is using AND the correct way to use 2 comparisons in the WHERE part of the SQL??

View Replies View Related

Sort By Part

I have a database table, that I need to sort by PART of the contents of a field (named rFieldName in the table):sample contents of this field are:Code:

qid_5_question_1
qid_12_question_5_0_1
qid_12_question_5_0_2
qid_12_question_5_1_1
qid_12_question_5_1_2
qid_12_question_5_2_1
qid_12_question_5_2_2
qid_12_question_5_3_1
qid_12_question_5_3_2
qid_6_question_2I need to sort his field by the value that appears AFTER the 3rd underscore, and if applicable BEFORE the 4th underscore
Is this possible - can you help please - I have no idea where to start on this as I've never had to try to do something like this before.

View Replies View Related

Use Only Part Of Field

I would like to use the last 10 characters of a Session object. Is this possible in active server pages. I am familiar with the user of Right$ in visual basic but I after trying serveral conatations I have had to give up.

View Replies View Related

Hide Until

I want to hide a submit button until all parts of the form are completed, the form contains 7 rows of radio boxes which are in groups(5 in each grp) when all are selected i want the button to appear but the page not needing to be refreshed, any ideas?

View Replies View Related

How To Hide

I migrated a mysql DB into a MSSQL DB. In this DB all chars like "blank"
or @ are encoded in...whats it called in english? :)
you know, when a blank is "+" or @ is "%40"... :)
How do I resolve those "%20"s back into a readable character or a blank
with asp?
Plus: How do I convert blanks into + again to write them back into the DB.

View Replies View Related

Hide The Value

i m passing value through href link.
like this
Code:

<% while not rs.eof
%>
<tr><td style="font-weight:bold">::</td><td ><a href="<%=rs("newsurl")%>&id=<%=rs("newsurl")%>" style="font-family:sans-serif;font-size:12px"><%=rs("headline")%></a></td></tr>
<%
rs.movenext()
wend
%>

and this value appers in address bar.any way to hide this whole value in address bar

View Replies View Related

Reg Exp To Remove Part Of String

how do I get a reg exp to remove part of a string? -

I have: '/page/txtonly/index.asp' and I want to remove the '/txtonly' to end up with: '/bobby/index.asp'.

View Replies View Related

Display Part Of A Record

I need to limit how much of a record is printed to screen. I just want text up to the first full stop.

View Replies View Related

Remove Part Of String

Following java script code to get subscriber ID, its value is like 975683678-28_luxap01s.southernlinc.net, I want to leave number there and cut starting _ part, does anybody know how to remove the character starting underscore "_"? the final value is 975683678-28.
<%
subsciberID = Request.ServerVariables("HTTP_X_UP_SUBNO") ;
%>

View Replies View Related

Extracting Part Of A String

we have a database with a lot of products in it. and for some reason one fo the feilds is set up like "<img src="images/something/image.jpg" />". they should be set up without the html but because of the way they are set up theres no way i can use them outside of the root directory.

I need a way to just pull the first 10 characters off the string. which would be the <img src=" part, and then pull off the last 4 characters " />. so that i am just left with images/something/image.jpg.

I can sort of get the first part to work by using Mid(string,10)

but how can i remove the last 4 characters?

in php the function would do the ending characters if you made it a negative number. but Mid(Mid(string,10),-4) doesnt seem to work.

View Replies View Related

ServerVariables - Request Only Part Of The URL

I am coding a login system with login form etc. and when users are denied access to a secure page within the secure area, I want to obviously send them to the login page to check who they are and check they are allowed to view the secure content of the site.

The problem I am having is that currently, if a user is denied access to a secure page, they are sent to the login page. Once they are granted access, they should be sent back to the page they were originally trying to view and not to the main menu.

(The secure area has lots of pages and users would not be happy if they had to trawl through hundreds of pages to try and find what they wanted.

I know I need to use the ServerVariables collection to retrieve the ("URL"), but I dont want to just use this as a querystring parameter when I send a user to the login page.

This would be insecure because someone out there would find my little login script and start using it on their own site by sending users to my login script to login, and then using the querystring parameter to redirect the user back to their own site.

All I want to do is select the part of the URL after the http://www.somedomainname.co.uk/manager/ part. I cannot use a Left select or right select option because my login script will be put onto lots of different websites, and I would have to change the Left select on each different site.

View Replies View Related

Using Wildcards In The 'Where' Part Of An SQL Statement

Basically, what I want to do is to group records according to the first letter of "username" (the primary key).

SQL = "SELECT order_date FROM cart_order WHERE username = 'A*' ORDER BY username"

I've tried using a 'wildcard' (*) in the SQL statement and it doesn't work. So, how does one filter out records according to the first letter of the cell's data?

View Replies View Related

Refresh Just Part Of The Screen?

I can come up with a page that displays some information. The information will always be displayed on specific part of the page, with auto refresh. But he doesn't want the whole page to be refreshed so that buttons and images around the information do not get
reloaded each time. Is this really possible?

Other pages on this site don't use frames, so this page can't use frams too. Creating an ActiveX control is also not an option of us ...

View Replies View Related

Extracting Part Of Text

Is there a way of extracting only part of an entry retrieved from a SQL database. For instance, if I have an article of 4000 characters can I extract only the first line of the article and them put a link to the full article after the extracted text.

It is something I have been trying to master and will help me display my retrieved recordset data better.

View Replies View Related

Print Part Of An Asp File

I have link from a page.If you click on 'pedir presupuesto' it goes to a form, when someone clicks submit on the form the next page sends an e-mail, and must print part of the table from the original asp page (0.asp - from the first darker grey header to the second one).

View Replies View Related

Stripping Part Of The Text

I want to strip email from the text. Some of my users may send me a string:

str = "This is email 1: Join Bytes! and here is email 2: <a
href="mailto:me@me.com">me@me.com</a>"

How do I parse the string to get email address only? mI know I may use instr() to determine if email address exists, but please, give me a hint on how to handle it next.

View Replies View Related

Part Of Webpage Not To Refresh

i have a site that has a header include file, i don't want the header to refresh as i navigate through the site. Is this possible?

View Replies View Related

Selecting Part Of A String

I'm just starting out learning a bit of asp with my job so pardon my bad use of any jargon

In 'A:B:C: D:E' I want it to only return 'A:B:C: D'. Dropping off the content after and including the LAST :

Can anyone help?

View Replies View Related

Hide The Values

I have an Invoice.asp page which displays the number of products ordered by size. I would like to make the 0 values invisisble on the page. Can any1 help?
Below is some code that applys what i would like to do this using text fields.

<%
If O("S4") = 0 Then
txtValue4 = ""
Else
txtValue4 = O("S4")
End If
%>

<input name="textfield4" type="text" value="<%=txtValue4%>" size="1" maxlength="3">

"O("S4")" is the recordset name and "txtValue4" is the initial value of the textfield.

Does anyone know how to alter this piece of code so that it applys to only the recordset "O("S4")" and not the textfield, alowing me to get rid of the textfields?

View Replies View Related

Best Method To Hide

What's the best method to hide, or not show a certain record when doing a pull from a database, as in I am pulling a list with a dozen category's and I don't what to show one of them.

View Replies View Related

Hide Code

Is possible to build a old ASP application in order to give to final user an application that hide its code?

View Replies View Related

Hide Drop-down Box

I need to hide a drop down box. For a car search page, if the user selects "NEW" the mileage drop-down dissappears, but if the user selects "USED" than the mileage drop down appears. I need this on the server side, so I would be needing to use VBScript.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved