How To Use VBscript In ASP To Deactivate A Button On The Pages ?
I know how to use Javascript to affect the button in form such as "this.form.button_name.selected= false" but i dont know how to do this with ASP (Vbscript)
and how to link to another asp pages when we click on this button if it is activated .
View Replies
ADVERTISEMENT
i want to deactivate the back button on left top corner to the browser window, is it possible to do it in ASP. if yes please help me friends
View Replies
View Related
how to create a roll down button in asp vbscipt? thats mean when i roll over the button, there come down a list of button again for user to select!!
i need to have the source about this, somebody done this before or got idea about this,
View Replies
View Related
I have a web application done in Cold fusion but I think this may apply to other dynamic apps done in asp etc.
I have a "list" page which lists items and is generated from a database. When you click on the item name it passes the unique itemID in the URL to a "details" page where more info about that Item is displayed - standard drill down proceedure.
The problem is this - when I am on the "details" page I cannot go back to the "list" page in NN or Mozilla - in fact the browser back button is grayed out like the first page never existed. This does NOT happen in IE - the back button works as expected.
Similarily, java script solutions like <a href="javascript:history.go(-1);">back</a> also fail in NN and Mozilla but DO work in IE.
I think this has do do with the dynamically generated pages and the above mentioned browsers not "remembering" them since they are created on the fly - but why? Since things work fine in IE there must be a simple solution to this problem...
View Replies
View Related
Is there a code that will deactivate the View Source on a browser? I have people tealing my page content from my client web site.
View Replies
View Related
I am uploading records automatically from an access database to the asp pages, but I am looking for a way to deactivate the record in the database so that it is not loaded into the asp page.
Do you know the asp code for this event?
View Replies
View Related
When making an admin area i have always just allowed 'delete the user', but is it possible to deactivate and reactivate a username and password.
I can picture it in my noggin. when viewing all the users there is the ability to check a box selecting deactive or reactivate depending on the state of the username at the time.
What do you think, is it more hassle than its worth to allow this?
View Replies
View Related
I want to understand the difference between submit button and regular button: <input type="submit"> and <input type="button">. My understanding is that submit button will send the entire HTML form to the web server, but regular button won't.
I have a problem that needs to pass HTML elements data back and forth in several ASP pages. I am using regular button to do that. But what's the approaches?
View Replies
View Related
Using IIS 5.0 and sometime some asp pages (absolutely
randomly) showing as blank white pages. So far only one
way of fixing it - restart whole server. Restarting IIS,
or specific web server not helping, only whole server.
I enable server side and client side debugging, but no
errors showing up...
In view source pages always look like this:
-----------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=windows-1251"></HEAD>
<BODY></BODY></HTML>
-----------------------
Any idea why it can happened and how to fix?
View Replies
View Related
I am always getting cached pages even contents of the page changed on the server but I am getting old page (data).How to solve this.
View Replies
View Related
is it possible to create pages using other pages. Here is an example... Can I make a page that has a menu on it, but the menu is actually a seperate page that I call with ASP?
View Replies
View Related
i wonder how to execute vbscript when user presses image .is it possible ... because i don't like the ordinary. Code:
<INPUT TYPE="SUBMIT" VALUE="Submit Information">
View Replies
View Related
<input type=button class="btn" name=edit value="Edit" onclick="self.location='admin_category_subsub.asp?c=<%=trim(server.urlencode(rs("cat_name")))%>&c_id=<%=rs("subsub_cat_id")%>'">
actually this is an example of a button called "Edit",however i am not sure of something.
what does this c=<%=trim(server.urlencode(rs("cat_name")))%>&c_id=<%=rs("subsub_cat_id")%>'"> mean??
and the "cat_name" and "subsub_cat_id" is it from the database table?
View Replies
View Related
i has installed IIS on Win2k Pro to test some horrible .asp stuff. I, er, he also has phptriad installed and rather like Apache as his localhost server from time to time. How can he switch IIS off?
View Replies
View Related
I have a list box that populates from db, and I would like to have a button that selects all items with on click.
View Replies
View Related
I have a submit button - I would like it to submit and then I would go to the next page when the submit button is pressed.
View Replies
View Related
I want to make it so that when the user is looking at a rendered ASP page
and they hit the ENTER key, one of the buttons on the form gets "clicked".
In other words I want for the user to not have to click on the button, and
just hit ENTER instead. How do I specify the button?
View Replies
View Related
I am trying to get a font of a label to change to times new roman when an option button is clicked, i have tried this:
Private Sub optHigh_Click()
lblHeading.FontName=Times New Roman
End Sub
This is wrong but i cant work out how to get the font to change,
View Replies
View Related
Does anyone know how to code a button that when hovered over moves. Then maybe on the 3rd roll over it will not move and actually allow the user to select it?????
View Replies
View Related
<INPUT TYPE="SUBMIT" VALUE="New Message" Style="Width:100px">
How can I change the font type and font size of value="New Message"?
Except create a customized button in photoshop as an image file.
View Replies
View Related
i am having problem with my submit function. When i refresh my page or select an option from the drop down list it is submiting the values into the database where it should submit when i click the submit values. Another problem is tat wad ever values i submit it is appearing with comma at the beginning of the value in the database.
View Replies
View Related
I'm using Frontpage to Design the page and .NET to edit the code behind it.
Is there an easy way, like a button, or some simple syntax to add a button to "browse PC" where when the user clicks on the button it opens up that standard HardDrive browse box and you can select a file?
And question 2, can you do directory reads where you open a directory and then just keep reading through each file in the directory till you get to the end?
View Replies
View Related
I have a question about using a image as a submit button. Basically I have:
<INPUT="image" SRC="c:whateverwhateverutton.jpg" NAME="Login">
Now I have two different buttons in one form. I trying to figure out how to get the page to know what button was pushed, and then do a set of actions. Such as:
If button1 is pushed then
blah
end if
if button2 is pushed then
blah
end if
Thats the basic pseudo code for what Im trying to do. Keep in mind this is a image button.
View Replies
View Related
I have been using an image instead of a button to submit a form, this works fine within firefox, however when i come to test it in IE6 it doesnt submit the form... If i add a proper button then it works fine, however in keeping with the look and feel of the site it is important that i use an image.
the code i have is as follows:
Code:
<input type="image" name="Submit" value="Submit" src="images/proceed.gif" alt="Proceed to the next step" width="221" height="29" border="0" />
The form posts back to the same page to do some validation routines, but when it is not an image then as i have said in IE it doesnt work
View Replies
View Related
I have two radio button and one input filed on my form. What I want a do when user change the selection then I want a display the today date into enterdate input filed. Then later I can add this date into database.
How can I do that.
input type="radio" name="GType" value="Pending" <%=iif(GApproval="Pending","checked","")%>[PHPNET][/PHPNET]>Pending
<input type="radio" name="GType" value="Approve" <%=iif(GApproval ="Approve","checked","")%>>Approve
<input type=text name=enterdate value="” maxlength=5 size=3>
View Replies
View Related
i have this prob. example,
i have created 2 .asp pages which,
1. Index page
2. Adding asp function
User will start to add contents in index.asp, then clicked on the "Add" button. the form will post to addContent.asp to add the contents to the database, then prompt the user for Adding contents complete and lastly display the added content to the Index page.
However, when i clicked on the "back" Button at the IE Standard Bar, it display the addContent.asp page and prompt user for the last msg -> "Adding contents Successfully". how can i redirect the page to the previous page before the adding page when the user clicked on the "Back" button at the IE Bar?
View Replies
View Related
The main idea goes like this: I have a textarea, on the right I have a listbox whose elements are loaded from an Oracle Database, I want to have an "Add" Button which when pushed will insert in the textarea the value selected on the listbox between "{ }" (ej, The {white} cat), you can add as many values as you wish and also manually edit the text, and a Submit button which open another ASP page that will check the sintax of the textarea and insert it on the Database.
So far I already have the part which checks the sintax and inserts it on the db, and the listbox with the elements you can insert on the textarea, but my boss really wants the "Add-Remove" feature and I need to finish this for Tuesday
View Replies
View Related
I have a search form. It has 2 radio buttons - 'all words' and 'any words'. The 'all words' is checked when the page is loaded. If the user checks the second radio button, then searches, on the results page (the search inputs stay at the top of the page as the form submits to itself), the checked radio button goes back to its checked default of 'all words'. Is there any way of making the checked button stay on the button the user clicked when going to the results page? Hope this makes sense.
<input type='radio' name='mode' value='allwords' CHECKED>
<input type='radio' name='mode' value=anywords'>
View Replies
View Related
I would like to put a picture on may page and I would like to use this picture as a button to execute an sql query, so when you clik on the picture you will hace displayed in the next page the product in the data base and other info like price for example.
I have this code to access the data base but I do not know how to use a picture s a buton to use it. Code:
View Replies
View Related
I have a simple page that reads a passwordQueries a database and returns a specific set of recordsThese Records can be edited.I change a value of one of the fields and hit update and presto it works great.
My problem is that when I try and move the "sumit/update button" to the top of the asp page it will not work. I want one at the top and one at the bottom so they are not forced to scroll up and down....
I think this is a result of the FORM? I am new to this so I am unsure as to why, if that is the case....
I highlighted the submit/updaet in BLUE it is at the bottom of the code
I slide the below line in where I want the button to go.....
I WOULD LIKE THE SUBMIT/UPDATE BUTTON TO BE JUST BELOW THE ABOVE TEXT
Code:
View Replies
View Related
I have a form with three <textarea> and one <input> element. When either of
these are changed I want an "Update" button to be visible at the bottom of
the form. I've tried this:
On every element I've added this trigger:
onChange='jsVwBtn()'
Function like this:
function jsVwBtn()
{document.form1.btnupdate.type = "button";}
Default the btnupdate type is set to "hidden".
Some of you might start to laugh now, but as you continue do that please
give some "state of the art" way to do this
View Replies
View Related
I am wanting the users on my site so be able to search through a database on different fields. One input box for one button. The will be a choice of two fileds they can search on. 1. rDate 2. Age_Group.
The user can can select either of these (but not both) I have been able to set it up for one to work but on both.
View Replies
View Related
I figured out that it is a default feature that if you are in an input box and hit the enter button it will cause the form to sort of 'submit'. I have a page where the form action is the actual page but it does all its variable assigning and such inside of an if then statement.
If Request.Form("submit")<> Then
and at the end of the if then I have a response.redirect to throw the results of my variables in the llink.
So what happens is when I hit the enter button it almost looks like the page is refreshing since the form action is the form itself. And the form doesnt even get into the If then statement. Anyone have any suggestions or direction as to what the easiest way I can do this is?
View Replies
View Related