I am using VBScript to create my ASP pages. But, I need to use a javascript function (confirm) to send user to another page. But, I need to send the value of a VBScript variable to the next page also. Is there any way this can be done?
Here is my confirm:
function jsConfirm() {
if...
Hi!
I am trying to insert a string from a textbox into my database. It works great, until it sees a SINGLE OR DOUBLE QUOTE in the string. The information from the textbox is a description field, and often the user will enter single quotes and double quotes to represent feet and inches. When...
Hi all
I am trying to retrieve information from various tables. That was the easy part. But, one of the fields I would like to return distinct, as the same data can be repeated more than once. Here is my code, this part of it works:
select cat.catregid, s.companyname, cat.supplierID...
Hi
I would like to a confirm and/or an alert box on my page. I will post my code below, just can't figure out why it doesn't work .. very new to javascript.
<HEAD>
<SCRIPT>
<!--- Hide script from old browsers
function validate(f)
{
if (confirm("Are you sure?"))...
I know this must seem a simple problem .. but its driving me crazy! I have one checkbox, and I want to see whether or not its been checked. On the form with the checkbox, I coded it as:
<input type=checkbox name=Favs value=Favorites>
And on the next ASP page, I have:
Favs =...
hi<br><br>I am getting information from the database, from one certain column. I put it into an array, which I inserted into the drop down list. But, my problem is, in the database, some of the information is entered more than once, for different records. I don't...
on my page, I have a drop down list, with quite a few choices for the user, and a text box. Once the user clicks on a choice, I would like that text to be put into the text box. Any help greatly appreciated!<br><br>thanks
I want to initialize a few session variables in the global.asa file. Below is my code - when I try to print the "Index" variable in my asp page, there is no value. Can someone please let me know where I have gone wrong?<br><br><br>Global.asa:<br><br><SCRIPT...
New to JavaScript here - I copied some script from a site, and there is an error in it. Can someone please let me know what is wrong with this code? First error: Expected "(" This occurs at the bolded line. Second...
I hope I am posting to the right forum. This was working a few days ago, but for some strange reason its not any more. I am putting a login name and number into session variables, but when I try to get them from another asp page, there is no value in them.<br><br>On the...
Hi - is there any way to disable the back button on the browser? I am doing an online exam, and don't want the student to be able to go back to exam once its completed. Any suggestions or websites with info on this is greatly appreciated.
I am creating a table using the information pulled from a database. When I am creating the table, I am also creating a cell that has a text box in it - which the user will put information into. Below is the code I used to create the table. My question...
I am developing an exam online, and need to have a timer on the page, to count backwards from 15 mins to 0, displaying the minutes left. Is there any way to do this in HTML or VBScript?<br><br>Thanks in advance :o)<br><br>
I am a VB programmer, trying to learn ASP. In my project, I am checking that a certain text box has been filled in, and I would like to have a message box appear if its not filled in, telling user to fill in that box. Can this be done? I tried coding as I would...
I have an application in VB6, and want to put it into the web page. I am pretty sure I have to use the Object tag, but not quite sure how to do that. Can someone please set me on the right track? And, perhaps, suggest a site where I might learn more about...
not sure if I am posting this in the right place ...<br><br>I have created an application in VB 6, and now the company wants to put it on the intranet. I understand that I need to make the forms into Active X controls to be able to do this. I have never done this...
not sure if I am posting this in the right place ...<br><br>I have created an application in VB 6, and now the company wants to put it on the intranet. I understand that I need to make the forms into Active X controls to be able to do this. I have never done this...
I would like to know if there is a way to load a picture (image) from a form into a file already created, to be referenced through the database. For example, the user chooses a file using the common dialog - the picture is sent to an image control, and the picture name gets sent to...
I would like to use the common dialog control to get a picture file from the user, and insert the picture into an image box on the form. I am not quite sure how to use this control, and I have searched MSDN, but, unfortunately, there is not much information there. Can...
in my form, I am creating a new empty table from an existing structure (in Access). The user enters information for the table in text boxes, and what I would like to do is have a grid on the form that shows the information entered into the new table - and the user needs to be able to...
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.