Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Candyb

    submit a form using an url

    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
  2. Candyb

    form confusion: how to grab value when onclick

    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...
  3. Candyb

    form confusion: how to grab value when onclick

    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...
  4. Candyb

    howto access form key value?

    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...
  5. Candyb

    open page into new window; page is action of form

    Hi, I have a form with action=&quot;display.asp&quot; 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...
  6. Candyb

    how to clear screen and display new stuff

    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...
  7. Candyb

    on 'onclick' how do you access the form's values?

    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=&quot;tips&quot;> <table width=&quot;750&quot...
  8. Candyb

    runtime error: using javascript calls from xsl

    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...
  9. Candyb

    is it necessary to have &lt;- - in javascript

    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
  10. Candyb

    javascript syntax

    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
  11. Candyb

    script to allow multiple questions insertion in one form to database

    in VB there is this for each Question in Request.form conn.execute &quot;insert into Survey (surveyid, etc) & etc & etc.&quot; 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...
  12. Candyb

    script to allow multiple questions insertion in one form to database

    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...

Part and Inventory Search

Back
Top