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

    Can I reference VBScript variables in Javascript??

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

    Can I reference VBScript variables in Javascript??

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

    Using single quotes within a string

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

    Using single quotes within a string

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

    newbie join question

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

    newbie join question

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

    Confirm and Alert .. simple question

    Thanks Russ .. it works great now .. I don't know why it didn't the first time. Much appreciated!
  8. allyeric

    Confirm and Alert .. simple question

    ok .. I've narrowed down my problem a little better. in the OnClick I have: <input type=&quot;button&quot; value=&quot;Delete&quot; name=&quot;B2&quot; onClick=&quot;Javascript: confirm('Are you sure you want to delete this product?');&quot;> this seems to work fine .. but now I need...
  9. allyeric

    radion buttons and forms...

    I am not really sure about Javascript, but I know in VBScript, a radio button that is clicked returns the value in &quot;Value&quot; For eg, if first button is clicked, mselect would be equal to r0. Therefore, you should check what mselect.value is equal to.
  10. allyeric

    Confirm and Alert .. simple question

    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(&quot;Are you sure?&quot;))...
  11. allyeric

    Checkboxes

    ok .. thats not working either!! Help please :o)
  12. allyeric

    Checkboxes

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

    Checkboxes

    Thanks Rob .. I did make the changes that you suggested, and when I print the value of Favs, it always says &quot;NO&quot; .. not sure why this is .. I will include my code below: default.html <form id=frmForm method=&quot;POST&quot; action=&quot;SubCategory.asp&quot;><BR> Show only my...
  14. allyeric

    Checkboxes

    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 =...
  15. allyeric

    filling a drop down list

    hi<br><br>I am getting information from the database, from one certain column.&nbsp;&nbsp;I put it into an array, which I inserted into the drop down list.&nbsp;&nbsp;But, my problem is, in the database, some of the information is entered more than once, for different records.&nbsp;&nbsp;I don't...
  16. allyeric

    getting value from drop down list and put into text box

    on my page, I have a drop down list, with quite a few choices for the user, and a text box.&nbsp;&nbsp;Once the user clicks on a choice, I would like that text to be put into the text box.&nbsp;&nbsp;Any help greatly appreciated!<br><br>thanks
  17. allyeric

    Session OnStart in Global.asa

    thanks nick - I have session variables in other pages that are not being initialized from the global.asa, and they work fine, so obviously its an incomplete understanding.&nbsp;&nbsp;I will look up thoses resources you suggested.<br><br>And no, I still didn't get that javascript routine to...
  18. allyeric

    Session OnStart in Global.asa

    I want to initialize a few session variables in the global.asa file.&nbsp;&nbsp;Below is my code - when I try to print the &quot;Index&quot; variable in my asp page, there is no value.&nbsp;&nbsp;Can someone please let me know where I have gone wrong?<br><br><br>Global.asa:<br><br>&lt;SCRIPT...
  19. allyeric

    Create Primary Key With VB 6.0 (sp3)

    after you create your table, use a separate sql command to declare the primary key<br><br>eg:<br><br>strSQL = &quot;ALTER table Employe ADD Primary Key (Emp_No)&quot;<br><br><br>hope this helps<br><br><br><br>
  20. allyeric

    Object Expected error

    no, I didn't include files - starting to feel like I am in the twilight zone here!  Maybe there is someone who might like to check my whole html page?  Perhaps there is something in there that I just can't see.  If anyone is interested, you can email me at <A...

Part and Inventory Search

Back
Top