HI, i was wonderin how one would submit a form using an url instead of the submit buttons..this is because depending on the users options they can select where to go next..I have multiple urls for the user to select from.
thanks,
Candy
I feel silly but I realized i just had to pass that value in to the function.
But I get errors when I create this string..how can I avoid it?
var strUrl = "tipsheetvb.asp?display=" + display;
var strUrl2 = "&tip_id=" + strID;
var strALL = strUrl + strUrl2;
It says i need...
Hi,
I have a submit button that goes to my javascript function.
I have a while i < 5 where i = 0 let var1 = i;
The submit button has a name=submit value=submit and an id attribute that gathers it values form the var1...so
id=var1. so in the end i have 6 submit buttons all with different id...
Hi,
if i had a form name='list':
<input name='box' type='text'>blah</input>
<input type='submit' name='hello' value='3' >
i know that you grab the value by
document.list.box.value = blah
but what if you want to access hello?
document.list.key? or document.list.key(2) is wrong...
my form only...
Hi,
I have a form with action="display.asp" and I was just wondering how one could open the display.asp in a new window. When the form is submitted it sends the form to the asp in the same window. How do you force it to open in a new window?
I know that you can do this with direct...
Hi,
I have this document where I am displaying a pulldown list and a list of items with buttons that lead to detail pages.
I create a javascript function where the button go to this function and uses document.write to display the details.
but, I was wondering how to clear the screen and then...
Hi,
I have a html form and I don't want to send it anywhere but to my javascript function. If i put the form's button to onclick, how do I access the form's values to insert as parameters in my javascript function.
For instance:
<form name="tips">
<table width="750"...
Hi,
If I have an xsl doc that calls a javascript function, I am unsure of where to keep my dynamic array that I created. Do I keep the array in the functions or outside it.
If outside it, is the array always there after the first call to add something to it so I can do second and third calls...
Hi, I was just wondering when working with client/server stuff and javascripts why under the script tag is there usually the <! -- tag and why it also works without one.
Thanks,
Candy
Hi,
I was just wondering how you would write the following?
I have a var id = 1;
What is the syntax to insert this variable into a string? if it is possible?
Or a string of single quotes?
Thanks,
Candy
in VB there is this
for each Question in Request.form
conn.execute "insert into Survey (surveyid, etc) & etc & etc."
I believe this takes a question on a survey and for each answer is put into the database as a separate record.
How do i transform this code into javascript?
I hope...
I am creating a survey with 8 question with 3 to 8 different checkboxs for answers and i would like to know how to insert each question's answers into my database (each question into a new record) using a script. I think i have to maybe use for..in and perhaps look up an insert and insert my...
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.