Thank you both for your replies. Nick, I did have it in a hidden field, just didn't know how to get it into the querystring. But, I did get it to work, sent the form to the JS function, then referenced that variable on the form.
function jsConfirm(form) {
var RFQ = form.RFQ.value
if...
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...
its ok .. I figured it out. In case anyone is interested, I just used the Replace function, replaced the ' with the word feet.
Description(x) = Replace(Description(x), "'", " feet")
Ally
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...
ok .. for each product, there could be a division name and a company name, or just a company name. One company can have more than one division. I want to let the user do a search on the product name, and have it list the companies or divisions who carry this product. In the same table, I will...
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...
ok .. I've narrowed down my problem a little better.
in the OnClick I have:
<input type="button" value="Delete" name="B2" onClick="Javascript: confirm('Are you sure you want to delete this product?');">
this seems to work fine .. but now I need...
I am not really sure about Javascript, but I know in VBScript, a radio button that is clicked returns the value in "Value" For eg, if first button is clicked, mselect would be equal to r0. Therefore, you should check what mselect.value is equal to.
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?"))...
ohhh I see what you are getting at .. but I don't want a submit button, the user click the checkbox, then clicks on a category name, which is a link to another page .. I guess I need to pass the parameter of the checkbox with the link .. will try that, and thanks again!
allyeric
Thanks Rob .. I did make the changes that you suggested, and when I print the value of Favs, it always says "NO" .. not sure why this is .. I will include my code below:
default.html
<form id=frmForm method="POST" action="SubCategory.asp"><BR> Show only my...
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...
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.